1. A simple C++ program to display the following output using a single cout statement.
Math = 90, Physics = 77 , Chemistry = 69
#include<iostream>
#include<conio.h>
using namespace std;
int main()
{
cout<<" Math = 90\n";
cout<<" Physics = 77\n";
cout<<" Chemistry = 69";
getch();
}
No comments
Post a Comment