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



Ask a Question

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. I am wanting to use a Honeywell 4600g handheld sca
View Tutorial          By: bugdrvr1970 at 2012-01-25 17:27:43

2. This works great.. :)

thanks a lot

View Tutorial          By: Ravi at 2010-07-03 23:34:46

3. Fantastic tutorial...
very help full to me

View Tutorial          By: venkat b at 2013-05-30 17:16:04

4. Try this

import java.net.*;

View Tutorial          By: Asad at 2014-02-13 05:55:26

5. I have some questions : 1) Which type of GC used
View Tutorial          By: SP at 2013-06-04 15:48:59

6. Change the line from
imgView.setBackgroundR

View Tutorial          By: laki at 2012-05-02 08:59:25

7. Very good explanation . I was very confuse but rea
View Tutorial          By: Shahabaj at 2010-08-10 08:58:39

8. Thanks!
View Tutorial          By: misterTi at 2015-03-18 17:48:41

9. Your script works beautifully. Is there a way to i
View Tutorial          By: JW at 2013-05-08 22:22:44

10. Thank you... :)
Simple and effective explan

View Tutorial          By: Mohammed Muzammil at 2012-08-08 05:07:32