- 1

Please give me C++ project 1 solution?

15th Jul 2022, 2:23 PM
Hafiz Muhammad Zubair
Hafiz Muhammad Zubair - avatar
4 Answers
+ 3
You won't benefit from getting ready-made code. We can help you, if you show us your code attempt: We can check on it and suggest you what to change
15th Jul 2022, 2:25 PM
Lisa
Lisa - avatar
+ 1
Only output the result, not any other strings
16th Jul 2022, 12:51 PM
Lisa
Lisa - avatar
0
#include <iostream> using namespace std; int main() { int a,b; cout<<"enter a total number\n"; cin>>a; cout<<"remaining seats in last bus\n"; b=50-a%50; cout<<b; return 0; } my project 1 answer is not matching with the results given in project.
16th Jul 2022, 12:34 PM
Hafiz Muhammad Zubair
Hafiz Muhammad Zubair - avatar
0
Thanks
16th Jul 2022, 12:55 PM
Hafiz Muhammad Zubair
Hafiz Muhammad Zubair - avatar