How cam i make a comparisons of two integer numbers in order ro printout a statement? Using strcpy() function | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How cam i make a comparisons of two integer numbers in order ro printout a statement? Using strcpy() function

Int rno = 20; Int roll_number = 30; Can I used the string comparison function to compare this to variables? If( strcmp(roll_number, rno) = 0) { Puts(" Successfully COMPUTED\n" ); } But in my projects am have this problem of comparing this Integer number received.

9th Sep 2021, 8:02 PM
Adebayo Boluwatife olumide
Adebayo Boluwatife olumide - avatar
1 Answer
9th Sep 2021, 8:21 PM
Simon Sauter
Simon Sauter - avatar