0

Which variable has a detection range for "√", "×" or "÷"?

https://code.sololearn.com/cao0k6bxZcr4/?ref=app

28th Dec 2020, 9:54 PM
Arash
Arash - avatar
10 odpowiedzi
0
char*
28th Dec 2020, 11:19 PM
Daniel Briceño
Daniel Briceño - avatar
0
#include <stdio.h> int main(){ char* a="hola"; printf("%s",a); return 0;} output: hola
28th Dec 2020, 11:22 PM
Daniel Briceño
Daniel Briceño - avatar
0
cout<<a; output: 16-3829r....
28th Dec 2020, 11:23 PM
Daniel Briceño
Daniel Briceño - avatar
0
For C the above For C ++ the String or above
28th Dec 2020, 11:24 PM
Daniel Briceño
Daniel Briceño - avatar
0
They didn't work
30th Dec 2020, 10:06 AM
Arash
Arash - avatar
0
Happy year, apologize for the tardiness https://code.sololearn.com/c3cG9VBMsXUF/?ref=app
1st Jan 2021, 3:55 PM
Daniel Briceño
Daniel Briceño - avatar
0
Detailed explanation: I couldn't compare the signs directly so I decided to transform them to integers. but since there were three char, the compiler gave me an error every time so I decided to transform the three char to obtain the desired results
1st Jan 2021, 4:00 PM
Daniel Briceño
Daniel Briceño - avatar
0
Now if it serves
1st Jan 2021, 4:09 PM
Daniel Briceño
Daniel Briceño - avatar
1st Jan 2021, 4:13 PM
Daniel Briceño
Daniel Briceño - avatar
0
Now it's work
4th Jan 2021, 8:57 AM
Arash
Arash - avatar