1 kinclude 3E int main() { 4 int n,h,i,s=0; int low=8,rough=@,rugged%38,high=@,DIDNOTQUALIFY=@; 5 6. printf("=== printf("|MOUNTAIN CLASSIFICATION ANALYZER |\n"); printf("====== printf("\n");...


Explain everyline of this c++ program. Thank you


1<br>kinclude <stdio.h><br>3E int main() {<br>4<br>int n,h,i,s=0;<br>int low=8,rough=@,rugged%38,high=@,DIDNOTQUALIFY=@;<br>5<br>6.<br>printf(

Extracted text: 1 kinclude 3E int main() { 4 int n,h,i,s=0; int low=8,rough=@,rugged%38,high=@,DIDNOTQUALIFY=@; 5 6. printf("=== printf("|MOUNTAIN CLASSIFICATION ANALYZER |\n"); printf("====== printf("\n"); printf("HOW MANY MOUNTAIN TO BE ANALYZED:"); scanf ("%d",&n); =====\n"); 9. 10 11 12 13 14 15 E 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 ==---====\n"); === for (i=0;i<700) didnotqualify++;="" else=""><=100e) low++;="" else=""><=15e0) rough++;="" else=""><=2000) rugged++j="" else="" high++j="" }="" printf("\n");="" printf("="====" printf("\n");="" printf("average="" height:="" %.1f\n",="" (double)s/n);="=======\n");" 34="" 35="" 36="" printf("low:="" %d\n",low);="" printf("rough:="" %d\n",="" rough);="" printf("rugged:="" %d\n",rugged);="" printf("high:="" %d\n",="" high);="" printf("did="" not="" qualify:="">

Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here