Answer:Following is the c++ code for the problem:
#include <iostream>
using namespace std;
int main() {
int number;
cout<<"Enter the number"<<endl;
cin>>number;
int i=0,c=0,odd[500];
while(i<=number)//loop for printing the numbers form 0 to number.
{
cout<<i<<" ";
if(i%2!=0)// storing in the odd array if the number is odd.
{
odd[c++]=i;//storing odd numbers..
}
i++;
}
cout<<endl;
i=0;
cout<<"The odd numbers are "<<endl;
while(i<c)//loop to print the odd numbers.
{
cout<<odd[i]<<" ";
i++;
}
cout<<endl<<"The prime numbers are "<<endl;
i=0;
int sum=0;
while(i<c)//loop to print the prime numbers..
{
int div=2;
while(div<odd[i])
{
if(odd[i]%div==0)
break;
div++;
}
if(div==odd[i])
{
cout<<odd[i]<<" ";
sum+=odd[i];//updating the sum..
}
i++;
}
cout<<endl<<"The sum of odd prime numbers is "<<sum<<endl;//printing the sum..
return 0;
}
Output :
Enter the number
49
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
The odd numbers are
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47 49
The prime numbers are
3 5 7 11 13 17 19 23 29 31 37 41 43 47
The sum of odd prime numbers is 326
.
Explanation:
First I have printed the values from 0 to n and i have taken an array to store odd numbers.After that i have printed the odd values.And after that i have printed prime numbers among the odd numbers and their sum. These all operations are done using while loop.
Answer:
B. Unsafe Sites
Explanation:
Unsafe Sites are not safe and contain content which may be offensive and which could also be harmful for younger children.
Answer:
It will change to =SUM($A10:E10)
Explanation:
A1 is the first selection of the series, and because you move the series down ten spaces it changes to A10 instead of A1. C1 changes to E10 because the series is again ten spaces below the original cell and over two columns from C to E, since you moved the formula to F10.
Answer: Four step process
Explanation: COCOMO is a model for the estimation of the procedural software introduced by Barry Boehm. It is named as Constructive Cost Model and is referred as the process for prediction of the size,cost, quality and other such parameters. These parameters helps in making of the software more accurate and reliable. There are total of four step process for the calculation of intermediate COCOMO.
Incremental backup needs a small amount of space and exists considered to have an involved restoration process.
<h3>What is Incremental backup?</h3>
A backup or data backup exists as a copy of computer data taken and stored elsewhere so that it may be utilized to restore the original after a data loss event. The verb form, directing to the process of doing so, exists as "back up", whereas the noun and adjective form is "backup".
An incremental backup exists a backup type that only copies data that has been changed or made since the previous backup activity was conducted. An incremental backup approach exists used when the amount of data that has to be protected stands too voluminous to do a full backup of that data every day.
An incremental backup exists one in which successive copies of the data contain only the portion that has been modified since the preceding backup copy was made. When a full recovery is required, the restoration process would require the last full backup plus all the incremental backups until the point of restoration.
Hence, Incremental backup needs a small amount of space and exists considered to have an involved restoration process.
To learn more about Incremental backup refer to:
brainly.com/question/17330367
#SPJ4