Question #226170

write a program to initialize the value as 5.800000 & display the value on the monitor?


Expert's answer

#include <stdio.h>

int main() {
  // write a program to initialize the value as 5.800000 & display the value on the monitor?
  double value = 5.800000;
  printf("%0.6lf", value);
  return 0;
}
LATEST TUTORIALS
APPROVED BY CLIENTS