Showing posts from June, 2021Show all

Check given character is Vowel or not Using Switch

#include <stdio.h> #include <conio.h> int   main () {      char   ch ;      clrscr ();      printf ( "Enter any character:…


Nested Switch Case Example

#include <stdio.h> #include <conio.h> void   main () {      int   choice ,  ch1 ,  ch2 ;      clrscr ();           printf ( &am…


Multicases Example

#include <stdio.h> #include <conio.h> void   main () {      float   p ,  r ,  n ,  i ,  basic ,  hra ,  da ,  pf ,  netsal ,  a…


Project in Python - Supermarket Cashier

Let's have a look at how the flow of the project would look like: def   enterProducts ():      buyingData  = {}      enterDetails  =  T…


Find Coefficient of Variation

//compute the value of the coefficient of variation of runs scored by two Cricketers A and B to compare their batting performance in last…


Operator as Case in Switch Cases

#include   <stdio.h> #include   <conio.h> #include   <math.h> void   main () {      char   op ;      float   num1 ,  num2…


Find a Day from Week using Switch Case

#include   <stdio.h> #include   <conio.h> void   main () {      int   day ;      clrscr ();           printf ( "Enter day …