Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Oppiskele Level of Knowledge | Conditional Control Flow Practice
C++ Conditional Statements
course content

Kurssisisältö

C++ Conditional Statements

C++ Conditional Statements

1. Introduction to Conditional Statements
2. Conditional Control Flow Practice
3. Advanced Topics

book
Level of Knowledge

Tehtävä

Swipe to start coding

  1. Develop a software program that assesses a student's knowledge level by analyzing their score using switch statement.
  2. Output in the console:
    • Low if the score value is from 1 to 3;
    • Intermediate if the score value is from 4 to 7;
    • High if the score value is from 8 to 10.

Ratkaisu

cpp

solution

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 2
toggle bottom row

book
Level of Knowledge

Tehtävä

Swipe to start coding

  1. Develop a software program that assesses a student's knowledge level by analyzing their score using switch statement.
  2. Output in the console:
    • Low if the score value is from 1 to 3;
    • Intermediate if the score value is from 4 to 7;
    • High if the score value is from 8 to 10.

Ratkaisu

cpp

solution

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 2
Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Pahoittelemme, että jotain meni pieleen. Mitä tapahtui?
some-alt