#include using namespace std; int main() { 101 0 } #include using namespace std; int main() { Sum 50

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
correctanswer
Posts: 43759
Joined: Sat Aug 07, 2021 7:38 am

#include using namespace std; int main() { 101 0 } #include using namespace std; int main() { Sum 50

Post by correctanswer »

Include Iostream Using Namespace Std Int Main 101 0 Include Iostream Using Namespace Std Int Main Sum 50 1
Include Iostream Using Namespace Std Int Main 101 0 Include Iostream Using Namespace Std Int Main Sum 50 1 (34.25 KiB) Viewed 60 times
#include<iostream> using namespace std; int main() { 101 0 } #include<iostream> using namespace std; int main() { Sum 50 int sum=0; for (int k-0;k<-20; ++k) 1 if (k%5-0) sum+k; } cout <<"sum="<< sum<<endl; return 0; } Q2 Identify and correct the error(s) in each of the following: (2x3 = 6 marks) For (x= 100, x >= 1, --X) cout << x << endl; for(x-100; x>-1;--x) cout<<x<<endl; float k-12.8; or double k=12.8; int x = 1.y=100; while (x< 100){ x++; y=-; 1 cout << x << " " <<y << endl; int K=12.8;
Register for solutions, replies, and use board search function. Answer Happy Forum is an archive of questions covering all technical subjects across the Internet.
Post Reply