Comment on Tutorial - The if Statement in C++ By Priya



Comment Added by : nazarine

Comment Added at : 2011-07-06 06:17:10

Comment on Tutorial : The if Statement in C++ By Priya
# include <iostream.h>
int main ()
{
int x,y
cout<<"enter your year:\n";
cin>>x;
cout<<"enter your year:\n";
cin>>y;
cout<<the sum of two no# is:\n";
return 0;
{


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. Explanation is very good. Thanks all.
View Tutorial          By: reddy at 2010-04-07 08:47:09

2. nice explainations for the beginners like me :)
View Tutorial          By: Divya Taneja at 2012-02-11 13:17:17

3. Thanks for this explanation. I'm not sure whether
View Tutorial          By: Venkatesh Challa at 2013-03-29 04:35:21

4. Hi,
My problem is that how to connect the r

View Tutorial          By: Twahie at 2011-03-21 05:31:06

5. I don't get it... there seem to be only two differ
View Tutorial          By: bibiki at 2012-04-05 02:01:32

6. sir how can i access url in one click
View Tutorial          By: mohit at 2010-05-28 23:10:23

7. Sir, plz tell me how can I run the speech class in
View Tutorial          By: Nitin Govil at 2012-01-21 10:14:52

8. if done all the steps but i have found out this er
View Tutorial          By: hisham at 2010-11-24 11:01:54

9. Can someone tell me how to run in linux 7.10...
View Tutorial          By: fatwa perdana at 2008-10-15 03:27:49

10. 3. Write a program that will continuously ask for
View Tutorial          By: basil at 2011-08-04 13:00:30