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. very excellent1!!!!!!!!!!!!!!!!!!!!!!!!!!!
View Tutorial          By: santosh manchala at 2010-10-10 13:07:07

2. Good Luck.........

by Nagarajan(

View Tutorial          By: nagarajan at 2011-06-21 12:14:39

3. thanx a lot.............!!!! u r best..........
View Tutorial          By: Pratik at 2010-04-12 12:41:30

4. Your site is a really big help. Straight to point
View Tutorial          By: Mark Anthony Santos at 2008-12-16 22:03:57

5. i like your explanation it is understandable
View Tutorial          By: gerasmia yen-yen d. at 2009-07-15 21:12:39

6. Is so easy work with FacesContext. For me, the get
View Tutorial          By: Fred at 2009-03-11 08:42:59

7. Hi hardik,

RMS sample program is av

View Tutorial          By: Daniel Malcolm at 2008-03-29 19:46:18

8. Hi, You can use a javascript array. Which means wh
View Tutorial          By: Mashoud at 2008-05-04 02:54:38

9. Awesome post....
View Tutorial          By: Zeeshan Ali Ansari at 2012-11-24 06:35:20

10. when i was running this code... it is giving me th
View Tutorial          By: Nilesh Agrawal at 2012-06-08 15:08:25