Advertisement
Guest User

Untitled

a guest
Oct 23rd, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7. float a , b , c;
  8. cout << "Please input your scores :"<<endl;
  9. cin >> a;
  10. cout << ""<<endl;
  11. cin >>b;
  12. cout << ""<<endl;
  13. cin >>c;
  14. cout << ""<<endl;
  15. float kl = a*b*c;
  16. float avg = kl/3;
  17. cout <<"The avarage score is :"<<avg;
  18. return 0;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement