![lollok](/avatars/22714.jpg)
lollok
05.08.2019 •
Computers and Technology
Identify the four basic categories of hardware in a personal computer system
Solved
Show answers
More tips
- S Style and Beauty How to Break in New Shoes: 7 Simple Methods...
- F Food and Cooking Delicious and Simple Fillings for Pies...
- H Health and Medicine How to Help Men Gain Weight?...
- A Auto and Moto Discovering the Leader: What is the Most Expensive Car in the World?...
- H Health and Medicine Hangover: How to Get Rid of It Quickly?...
- S Style and Beauty How to Choose the Right Fur Coat and Avoid Regrets?...
- C Computers and Internet How to Create a Folder on Your iPhone?...
- G Goods and services How to sew a ribbon: Tips for beginners...
- F Food and Cooking How to Make Mayonnaise at Home? Secrets of Homemade Mayonnaise...
- C Computers and Internet Which Phone is Best for Internet Surfing?...
Answers on questions: Computers and Technology
- H History What led the American colonists to believe they had protections against the power of the British king?...
- S Social Studies What does collision coverage insure...
- M Medicine Another name for the skin is the membrane....
- C Chemistry How much pressure does the lid exert on the gas? the lid is 10kg...
Ответ:
Brainliest pls! thx! :)
Ответ:
#include <iostream>
#include <conio.h>
using namespace std;
main()
{
float temp[10], sum;
sum=0;
for (int i=1 ; i<= 10; i++)
{
cout<<"Enter the temperature in Decimal for temp"<<i<<"=";
cin>>temp[i];
}
for (int j=1 ; j<=10 ; j++)
{
sum = sum+temp[i];
}
cout<< "/nThe Total Temperature ="<<sum;
getch();
}
Explanation:
In this program we can take values of temperature in decimal values by taking the data type of temp variable as float. Array is used to enter the ten temperature values. Sum variable is used to add all the values.