Credits In Uttu's college, a semester is said to be a: Overload semester if the number of credits taken > 65 > 65 . Underload semester if the number of credits taken < 35 < 35 . Normal semester otherwise Given the number of credits X X taken by Uttu, determine whether the semester is Overload , Underload or Normal . Code: #include <bits/stdc++.h> using namespace std ; int main () { ios_base :: sync_with_stdio ( false ); cin . ignore ( NULL ); int t ; cin >> t ; while ( t --) { int x ; cin >> x ; if ( x < 35 ) cout << "Underload" ; else if ( x > 65 ) cout << "Overload" ; ...
Coder Aryan is a blogging website that provide solution to Coding related problem. Competitive programming solution are also available here.I try to give easy explanation with video solution for all the Coding Questions.Platform Used Are: Hackerrank ,Codechef , Hackerearth , Codeforce , GeekforGeeks.
Comments
Post a Comment