C++ Program to find total marks of five subjects and
percentage. #include<iostream.h> #include<conio.h> void main() { long int t,s1,s2,s3,s4,s5; double p; clrscr(); cout<<"\nEnter Marks for Subject1 : "; cin>>s1; cout<<"\nEnter Marks for Subject2 : "; cin>>s2; cout<<"\nEnter Marks for Subject3 : "; cin>>s3; cout<<"\nEnter Marks for Subject4 : "; cin>>s4; cout<<"\nEnter Marks for Subject5 : "; cin>>s5; t=s1+s2+s3+s4+s5; p=(t*100)/500; cout<<"\nTotal Marks = "<<t; cout<<"\nPercentage = "<<p; getch(); }
|
Computer Science :: 11th/12th, Computer Engineering :: Degree/Diploma, Coding Concept ( C, C++ & JAVA Programming, JDBC Concept, DBMS - SQL Concept, Data Structure, Communication & Network Concept.
Monday, August 2, 2021
C++ Program to find total marks of five subjects and percentage.
Subscribe to:
Post Comments (Atom)
Programmingway@Eklavya Technosys!: Computer Solutions || Class-4 || Computer for Scho...
Programmingway@Eklavya Technosys!: Computer Solutions || Class-4 || Computer for Scho... : 1) Choose correct one :- 1) The step by step pla...
-
COMPUTER TERMINOLOGY 1) TCP/IP - Transmission Control Protocol/ Internet Protocol. 2) HTTP...
-
https://makecode.com/_3VxaMo6c3YPp Code 1) What is Make Code Arcade? Answer: Make Code Arcade is a Block based coding. 2) Writ...
-
Marks Division HOE 30 Marks IT Application Report File 20 Marks Viva - Voce 10 Marks 1) Write an HTML code to generate a web p...
-
Check whether the number is negative or positive after taking a number as input from the user. TextWindow . WriteLine ( "Ente...
-
1) ___ is the response of the receiver after perceiving the message. a) Encoding b) Decoding c) Channel d) Feedback 2) Which of the fo...
No comments:
Post a Comment