Search this site
Embedded Files
Emanuele Giona
  • Home
  • Research and activities
    • Publications
    • Blog
    • Teaching
  • About me
    • Curriculum Vitae
  • πŸ”— LinkedIn
  • πŸ”— GitHub
  • πŸ”— Twitter
  • πŸ”— ORCiD
Emanuele Giona
  • Home
  • Research and activities
    • Publications
    • Blog
    • Teaching
  • About me
    • Curriculum Vitae
  • πŸ”— LinkedIn
  • πŸ”— GitHub
  • πŸ”— Twitter
  • πŸ”— ORCiD
  • More
    • Home
    • Research and activities
      • Publications
      • Blog
      • Teaching
    • About me
      • Curriculum Vitae
    • πŸ”— LinkedIn
    • πŸ”— GitHub
    • πŸ”— Twitter
    • πŸ”— ORCiD

Lecture 1
Back to IoT Lab A.Y. 2022/23

Written: 2023/03/13

Tags: C++, exercises, lecture 1, standard I/O, strings

Solutions
Exercise 1
Exercise 2

Summary

Solutions to exercises proposed at the end of Lecture 1, held on March 7th 2023.

Solutions

Exercise 1

Write a program that prompts the user to insert an integer and a floating-point number, then performs and outputs their sum.

Exercise 2

Write a program that reads a string containing a number, then converts it into an integer, adds 5 to such value, and prints the result as a string.

IoT Lab 2022/23

Google Sites
Report abuse
Google Sites
Report abuse