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. Great!
Thnks for your help..

View Tutorial          By: ramu at 2011-06-18 07:56:56

2. It's a good eg to learn join and isAlive method.Bu
View Tutorial          By: Nithin at 2012-02-02 08:43:28

3. very thanks...
View Tutorial          By: anush at 2012-08-10 07:46:53

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

5. hi , sending of sms is failing. Please help me in
View Tutorial          By: sudhakar at 2009-06-19 09:39:55

6. I am using my NOKIA 2700 via blutooth connection.
View Tutorial          By: Rahi at 2010-05-11 04:39:33

7. ya,i changed tht to GSM modem but stil there is a
View Tutorial          By: rajesh at 2008-12-15 01:56:35

8. sir, i want to learn java please help me.
View Tutorial          By: nitin mittal at 2013-12-23 10:04:11

9. Hello all,
Please help me out. I want to cr

View Tutorial          By: Richa Bhatia at 2009-12-07 22:55:54

10. Why the output list in the wrong order?
View Tutorial          By: Pavel at 2013-02-23 12:05:02