Question: why does the following code not work when inputing 1 into the first line? #include #include int main ( ) { int sets = 0
why does the following code not work when inputing into the first line? #include
#include
int main
int sets ;
float po hc sg ;
int lowestSpec;
int cnter ;
int counter ;
int newArraysets;
float flowRate;
printfEnter the number of limestones to compare:";
scanfd &sets;
int multiplessets;
lowestSpec;
for int i ; i sets; i
counter;
cnter;
printfEnter the Information, d : cnter;
scanfd &multiplesi;
scanfd &multiplesi;
scanfd &multiplesi;
for int i ; i sets; i
if multiplesi lowestSpec
printfd multiplesi;
lowestSpec multiplesi;
;
printfThe lowest specific gravity isd lowestSpec;
for int i ; i sets; i
for int j ; j ; j
newArrayij multiplesij;
for int i ; i sets; i
flowRate newArrayi;
newArrayi flowRate;
;
printfd newArray;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
