D
D
Danya122020-06-09 14:11:24
Data Structures
Danya12, 2020-06-09 14:11:24

What can replace goto?

loop: printf("Kakuyu summu?ne bolshe %.2lf rub.\n", spisok.deposit_amount); 
                   fflush (stdin); 
           scanf("%lf", &count_money); 
                   if (count_money>spisok.deposit_amount)
                      { 
            puts("Dannaya suma prevyshayet summu na schetu,vvedite zanovo."); 
            goto loop;
              }

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question