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

In c++ how would I create a code thad if I input A it gives an output of 1 and for B - output 2 ?

c++
7th Nov 2022, 8:22 AM
Sarel
Sarel - avatar
1 Odpowiedź
+ 1
Something like this perhaps? https://code.sololearn.com/cAmBekv5WXfk/?ref=app
9th Dec 2022, 5:06 AM
THATguy18
THATguy18 - avatar

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
My codebits section is full of deleted codes
13 Votes
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
0 Votes
Solving coding challenges
0 Votes
Feedback on my portfolio
0 Votes
Yo this is madness
0 Votes
Changing String Variables into int in C++
0 Votes
Advertising in Sololearn
0 Votes
I am new
1 Votes
How can i insert files?
1 Votes