Docsity

programing question and answers, Exercises of Programming Languages

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