Question: why is the last loop not working#include #include int main ( ) { int sets = 0 ; float po , hc , sg =
why is the last loop not working#include
#include
int main
int sets ;
float po hc sg ;
float lowestSpec;
int cnter ;
int counter ;
float flowRate;
printfEnter the number of limestones to compare:";
scanfd &sets;
int multiplessets;
int newArraysets;
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
lowestSpec multiplesi;
;
printfThe lowest specific gravity isf
lowestSpec;
for int i ; i sets; i
for int j ; j ; j
newArrayij multiplesij;
for int i ; i sets; i
flowRate newArrayi;
newArrayi flowRate;
;
int counterThree;
for int i ; i sets; i
printfFlow velocity:
;
counterThree;
printfLimestone d: d cms counterThree, newArrayi;
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
