Identify the error in the following program.
#include
Write a program to display the following output using a single cout statement Maths=90 Physics=77 Chemistry = 69
2 C++ 2319Write a program to read two numbers from the keyboard and display the larger value on the screen
1 C++ 1239Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.
1 C++ 2004Write a program to read the values a, b and c and display x, where x=a/b–c. Test the program for the following values: (a) a = 250, b = 85, c = 25 (b) a = 300, b = 70, c = 70
1 C++ 1825Identify the error in the following program.
include
Identify the errors in the following program.
#include
Question { 936 }
Write a C++ Program to Display Number (Entered by the User).
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 976 }
Identify the error in the following program.
#include
void main()
{
int i = 0;
i = i + 1;
cout « i « " ";
/*comment *//i = i + 1;
cout << i;
}
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 2319 }
Write a program to display the following output using a single cout statement
Maths=90
Physics=77
Chemistry = 69
Answer
| Is This Answer Correct ? | 1 Yes | 0 No |
Question { 2319 }
Write a program to display the following output using a single cout statement
Maths=90
Physics=77
Chemistry = 69
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1228 }
Write a C++ Program to find Square Root of a number using sqrt() function.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1019 }
Write a C++ Program to Find Sum and Average of three numbers.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1239 }
Write a program to read two numbers from the keyboard and display the larger value on the screen
Answer
| Is This Answer Correct ? | 2 Yes | 0 No |
Question { 1117 }
Write a C++ Program to Find whether given Number is Odd or Even.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1118 }
Write a C++ Program to Reverse a Number using while loop.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 2004 }
Write a program to input an integer from the keyboard and display on the screen “WELL DONE” that many times.
Answer
| Is This Answer Correct ? | 0 Yes | 2 No |
Question { 1130 }
Write a C++ Program to Find Sum and Average of n numbers using for loop.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1825 }
Write a program to read the values a, b and c and display x, where
x=a/b–c.
Test the program for the following values:
(a) a = 250, b = 85, c = 25
(b) a = 300, b = 70, c = 70
Answer
| Is This Answer Correct ? | 2 Yes | 5 No |
Question { 1125 }
Identify the error in the following program.
include
using namespace std;
void main()
{
int num[]={1,2,3,4,5,6};
num[1]==[1]num ? cout<<"Success" : cout<<"Error";
}
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1438 }
Identify the errors in the following program.
#include
using namespace std;
void main()
{
int i=5;
while(i)
{
switch(i)
{
default:
case 4:
case 5:
break;
case 1:
continue;
case 2:
case 3:
break;
}
i-;
}
}
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |
Question { 1379 }
Write a C++ Program to Check Whether a character is Vowel or Consonant.
Answer
| Is This Answer Correct ? | 0 Yes | 0 No |