Question

(F) Specify the errors of the following code? 1) #include <iostrem> o stream 2) using namespace std; 3) int min() main 4) { 5
0 0
Add a comment Improve this question Transcribed image text
Answer #1

1) #include <iostrem> should be #include <iostream>

3) int min() should be int main()

7) sum = num1 + num2;

8) cout << "The sum is " >> sum; should be cout << "The sum is " << sum;

9) retrn 0; should be return 0;

Add a comment
Know the answer?
Add Answer to:
(F) Specify the errors of the following code? 1) #include <iostrem> o stream 2) using namespace...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT