How To Calculate Total Average of Marks in C++ | C++ Basic Programs






In this video How To Calculate Total Average of Marks in C++ -
----------------- START------------------

#include <iostream>
using namespace std;
int main(){
int eng, urdu , comp, phy, bio;
float total , average;
cout<<"Enter the All Subject Marks";
cout<<"\nEnter the English Marks: ";
cin>>eng;
cout<<"Enter the urdu Marks: ";
cin>>urdu;
cout<<"Enter the computer Marks: ";
cin>>comp;
cout<<"Enter the physics Marks: ";
cin>>phy;
cout<<"\nEnter the bio Marks: ";
cin>>bio;
total = eng + urdu + comp + phy + bio;
cout<<" Total Marks: "<<total;
average = total/5;
cout<<" \n Total Marks of Average: "<<average;
}



---------------------- -END -------------------------
► Shopify For Beginners :- https://youtube.com/playlist?list=PLm... ► Google AdSense :- https://www.google.com/adsense/start/ ► Google Cloud Boost Playlist - https://www.youtube.com/playlist?list... ► Google Cloud SQL Playlist:- https://youtube.com/playlist?list=PLm... ► GitHub Playlist - https://youtube.com/playlist?list=PLm... ► Flutter For Beginners :- https://youtube.com/playlist?list=PLm... ► WordPress Free themes For Beginners :- https://youtube.com/playlist?list=PLm... ► HTML & CSS and JAVASCRIPT Projects:- https://youtube.com/playlist?list=PLm... ► C++ For Beginners Playlist :- https://youtube.com/playlist?list=PLm... ► C++ Basic Programs : https://youtube.com/playlist?list=PLm... 🔁 Facebook: https://www.facebook.com/mscubetechco... 🛑 YouTube : https://www.youtube.com/channel/UC1Gb... #html #css #c++ #c #mscubetech #coding #programming #javascript #mscubetech

Post a Comment

0 Comments

Close Menu