• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
0

This given program is still running though I did not use curly braces,how?

#include <iostream> using namespace std; int main() { int mark = 90; if (mark < 50) cout << "You failed." << endl; else cout << "You passed." << endl; return 0; }

c++else-statements
29th Sep 2019, 3:58 AM
Harshit Nema
Harshit Nema - avatar
1 Odpowiedź

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Concerning image
1 Votes
Which is better Rust or C++? [CLOSED]
4 Votes
Code coach "camel and snake"
0 Votes
How can I learn codes
1 Votes
What is the answer of the web development where it is asked how many times will the messages will be displayed.In the last part.
1 Votes
Object Oriented Programming
0 Votes
stop scrolling if navbar is open
2 Votes
“Beginner in Coding: Which Language Should I Learn First for Unreal Engine Game Development?”
0 Votes
What is the best coding language to create a successful game on steam
0 Votes
Past lua programmer to new languages
0 Votes