Answer:
// here is code in c++.
#include <bits/stdc++.h>
using namespace std;
// main function
int main() {
// variable
int num;
int tot_sum=0;
cout<<"enter a number: ";
// read the value of n
cin>>num;
// check the multiple of 2 or 5 from 1 to n
for(int x=1;x<=num;x++)
{
// if multiple of 2 or 5 then add them
if(x%2==0 ||x%5==0)
{
tot_sum=tot_sum+x;
}
}
// print the sum
cout<<"sum of multiple of 2 or 5 is:"<<tot_sum<<endl;
return 0;
}
Explanation:
Read the number "n" from user.Check every number from 1 to n, if it is a multiple of 2 or 5 then add them to "tot_sum".When the for loop end, "tot_sum" will have sum of all the number which are either multiple of 2 or 5.Print the sum.
Output:
enter a number:11
sum of multiple of 2 or 5 is:35
Answer:
I think this might help, don't know much of this
Explanation:
How do you calculate 3.5 increase in Excel?
How To Increase a Number By a Percentage. If want to calculate a percentage increase in Excel (i.e. increase a number by a specified percentage), this can be done by simply multiply the number by 1 + the percentage increase. - which gives the result 60.
An instance in my life where I rendered services was when I worked in a grocery store.
The roles of entrepreneur include:
- Allocating employees duties.
- Improving standard of living.
- Taking risks.
The three challenges that a young entrepreneur faces today include:
- Financial instability.
- Conflicts with education.
- Lack of business skills.
The top three characteristics of an entrepreneur include:
- Innovation.
- Confidence
- Risk taking
<h3>Who's an entrepreneur?</h3>
It should be noted that a entrepreneur is an individual who owns business and take risks.
The roles of entrepreneur include allocating employees duties, improving standard of living, and taking risks
Learn more about entrepreneur on:
brainly.com/question/353543
#SPJ1
Answer:
The term "savanna" is often used to refer to open grassland with some tree cover, while "grassland" refers to a grassy ecosystem with little or no tree cover.
Explanation: