ugh my sobeit freezes the game and its not just this one, menu doesnt show up either when pressing F2 , my camera gets frozen and i cant move.... what can i do?
#include <stdio.h>
#define TEMP 120
int main(void)
{
int temperatues[TEMP]; // making the array called temperatues of 120
int total = 0;
int count = 0;
float average;
for (int i = 0; i < 120; i++) // asking user for 120 numbers and save them in array
{
printf("Enter atleast 120...
i did not test your programm since your using iostream and conio.h and i made this part
#include <stdio.h>
int main(void)
{
int temperatues[120]; // making the array called temperatues of 120
for (int i = 0; i < 120; i++) // asking user for 10 numbers and save them in array
{...
Hey basically i need help creating this program in the simplest form of c++
-user need to enter the hourly temp of a furnace
-temp should be stored in an array
-maximum readings - 120
-range of 50 - 1000 degrees
-if -1 is entered the program stops taking readings
-the program stops taking...
i edited a bit the first program to this
#include <stdio.h>
int main(void)
{
int input;
int numberofinputs;
int smallestnumber = 0;
printf("Enter the total numbers you wish to enter....");
scanf_s("%d", &numberofinputs);
printf("Enter the numbers\n");
for (int i = 0; i <...
hey that worked thanks :)
also now i have another question split in 2 things
a) write a program that requests the user to enter several integers then prints the smallest number, Assume that the first value to be read specifies the number of integers to be processed and is therefore not the one...
hey im doing a school assignment and i would like some help please..
I basically need to write a progam that asks the user to input three non zero integers and determine and print if they could be the sides of a right angled triangle...
This is what i did
#include <stdio.h>
int main(void)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.