Got an error in visual studio code

largest_num.cpp: In function ‘int main()’:
largest_num.cpp:16:12: error: ‘largest’ was not declared in this scope
if(largest<no){
^~~~~~~
largest_num.cpp:20:38: error: ‘largest’ was not declared in this scope
cout<<"largest number is: "<<largest;

hi @garimapatwal318 send the code by saving on online ide

write
save (ctrl +s)
send the url of the page

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.