Store Numbers In An Array And Print Them

profilemirameahora

Write a program and flowchart. The program should ask the user for the average temperature in each of the last 12 months. After the user has entered the temperatures, the program should display them. Use a "for" loop to ask for the data, and use another "for" loop to display the data. Store the data in an array called "temperature."...


I am only looking for the flowchart as I already wrote the code: 

#include <stdio.h>  int main() { int i; int temps[12]; for(i=0; i<12; ++i) { printf("Enter the average temperature in month %d and press ENTER",i); scanf("%d", &temps[i]); }  printf("The temperature over the past 12 months are:\n");for(i=0; i<12; ++i) { printf("% d ", temps[i]); }  printf("\n"); return 0;  }

    • Posted: 9 days ago
    • Due: 
    • Budget: $1
    Tags: urgent
    Answers 1

    Purchase the answer to view it

    blurred-text
    • Instructions

      Write a program and flowchart. The program should ask the user for the average temperature in each of the last 12 months. After the user has entered the temperatures, …

    • Rated 1 times

      C++

      Write a program and flowchart. The program should ask the user for the average temperature in each of the last 12 months. After the user has entered the temperatures, the program should display them. …