Answered step by step
Verified Expert Solution
Question
1 Approved Answer
now it is outputting 0 s how do I fix this int main ( ) { int sets = 0 ; float po , hc
now it is outputting s how do I fix this 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;
float multiplessets;
float 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: f cms counterThree, newArrayi;
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started