Comment on Tutorial - Using switch Statements in C++ By Emiley J



Comment Added by : sheraz

Comment Added at : 2011-11-07 02:08:55

Comment on Tutorial : Using switch Statements in C++ By Emiley J
the tutorial is good and i am satisfied to it i want to learn how to use calender although i made it but i want to have some changes the programe is given below

#include<iostream.h>
#include<conio.h>
{
do
{
long date;
char c;
cout<< "enter oyur date ?";
cin>>date;
if (date%2==0)
cout<< "the day is monday";
if (date%2==1)
cout<< "the day is tuesday";
if (date%2==2)
cout<< "the day is wednesday";
if (date%2==3)
cout<< "the day is thursday";
if (date%2==4)
cout<< "the day is friday";
if (date%2==5)
cout<< "the day is saturday";
else
cout<< "you enter invalid date"
}
while (c !='e')
}


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. It's simply nice.
View Tutorial          By: ghani at 2011-07-01 07:18:35

2. yes it is good example for abstract classes.Thanks
View Tutorial          By: Nilesh Chavan at 2010-07-17 02:24:42

3. This is very useful for beginners.
I want f

View Tutorial          By: shankar at 2013-02-04 13:28:16

4. Please send me the multithreading chat application
View Tutorial          By: Vaibhav at 2010-06-23 23:58:43

5. vry nice example....thanx..
View Tutorial          By: rekha at 2010-09-14 11:55:38

6. Good one.. great for beginners..
View Tutorial          By: varun at 2009-09-29 14:18:04

7. really nice
View Tutorial          By: umer at 2011-06-25 06:35:19

8. Sir. Please give an example which is small and und
View Tutorial          By: Rafik at 2011-08-17 19:45:04

9. To determine current location in a file:
{<

View Tutorial          By: Terry at 2009-09-27 13:15:56

10. nicely explained :)
View Tutorial          By: ibtisam at 2012-04-26 10:31:58