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:
The correct option to the following question is CDO(Collateralized Debt Obligation).
Explanation:
CDO(collateralized debt obligations), is the financial tool that is used by the banks to repackage the individual loans into the product sold to the investors on secondary markets.
It developed as the instruments for corporate debts markets, after the year 2002, CDO became the vehicles for refinancing the mortgage backed the securities.
A CDO is the type of the structured asset backed security.
A good website to learn coding is called Lynda.com. It costs money but its well worth it!
Answer:
Tell her to hold the Shift key as she hits Enter.
Answer:
The correct answer to the following question will be "Application program".
Explanation:
- Applications include database programs, word processors, browsers, development tools, picture editors, and platforms for communication.
- It use the OS (Operating System) of the computer and many other assisting programs, frequently system software, to work.
- An application program is a detailed, body-contained program that directly works a given function for just the user.
There are some examples of application programs such as:
- Includes various bundled software.
- Addresses an organization's data management and application requirements, covering all divisions.
- It allows users can create and manage information.
- Used primarily to get content access without editing.