programing question and answers, Exercises of Programming Languages

programing question and answers

Typology: Exercises

2019/2020

Uploaded on 11/14/2020

unknown user
unknown user 🇲🇾

5 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Find and correct errors in the following code:
i.
1. int k = 5.5;
2. cout << "j is " << j << "and k is " << k;
It has a decimal point so it should be a double, not int.
Endl; missing

Partial preview of the text

Download programing question and answers and more Exercises Programming Languages in PDF only on Docsity!

Find and correct errors in the following code: i.

  1. int k = 5.5;
  2. cout << "j is " << j << "and k is " << k; ● It has a decimal point so it should be a double, not int. ● Endl; missing