Answer:
// code in C++
#include <bits/stdc++.h>
using namespace std;
// main function
int main()
{
// variables
int sum_even=0,sum_odd=0,eve_count=0,odd_count=0;
int largest=INT_MIN;
int smallest=INT_MAX;
int n;
cout<<"Enter 10 Integers:";
// read 10 Integers
for(int a=0;a<10;a++)
{
cin>>n;
// find largest
if(n>largest)
largest=n;
// find smallest
if(n<smallest)
smallest=n;
// if input is even
if(n%2==0)
{
// sum of even
sum_even+=n;
// even count
eve_count++;
}
else
{
// sum of odd
sum_odd+=n;
// odd count
odd_count++;
}
}
// print sum of even
cout<<"Sum of all even numbers is: "<<sum_even<<endl;
// print sum of odd
cout<<"Sum of all odd numbers is: "<<sum_odd<<endl;
// print largest
cout<<"largest Integer is: "<<largest<<endl;
// print smallest
cout<<"smallest Integer is: "<<smallest<<endl;
// print even count
cout<<"count of even number is: "<<eve_count<<endl;
// print odd cout
cout<<"count of odd number is: "<<odd_count<<endl;
return 0;
}
Explanation:
Read an integer from user.If the input is greater that largest then update the largest.If the input is smaller than smallest then update the smallest.Then check if input is even then add it to sum_even and increment the eve_count.If the input is odd then add it to sum_odd and increment the odd_count.Repeat this for 10 inputs. Then print sum of all even inputs, sum of all odd inputs, largest among all, smallest among all, count of even inputs and count of odd inputs.
Output:
Enter 10 Integers:1 3 4 2 10 11 12 44 5 20
Sum of all even numbers is: 92
Sum of all odd numbers is: 20
largest Integer is: 44
smallest Integer is: 1
count of even number is: 6
count of odd number is: 4
Answer:
2002
Explanation:
Please mark me brainliest :)
Answer:
The two main goals are to reach CMM level 5, and when the company can be termed as optimized.
The second goal is to minimize the bugs at the current level as well. And this is important, as improvement is one thing, and ensuring you are correct at the current time is another, and which is essential for survival. And you can think of improvement only if you survive.
Explanation:
The dream of all companies is to become Optimized. And they always try to reach CMM level 5, such that they can serve their clients in the best possible manner. And it is the quality assurance team that keeps an eye on the working of the company and keeps on giving their feedback so that the team can provide better service to the clients in the future, and probably reach the CMMI level 5.
The control program makes the operating system better through the development of an environment in which one can run various other programs. And it, in general, formulates the graphical interface and leverage you to run various programs at one time in various windows. And the control programs are also being known as the operating environment.
The answer to this is OR..I think..Hope i helped
Answer:
A Caesar Cipher is a basic encryption type.
Explanation:
Its implementation is very easy and straightforward. It uses a one-to-one of characters in a character set. The input needed is the plain-text message and the encryption number.
For example, using the character set A-Z, encrypting the text CS IS COOL using the key of 3 generates FV LV FRRO. What has been done here is to take each character in the plain-text message and move it by "encryption number steps" in the character set.