Answer: Pseudo code
Explanation:Pseudo code is a false code that is written in the textual story board to make the fictional plot of the story more understandable in the layman terms for everyone.This is done to increase the readability of the code , which cannot be understood easily by the actual code.
It is implemented on the algorithms of a program in computer field so that the complex coding statements can be understood by the programmer.
If the coder is unable to locate a code that describes the exact service provided, it is acceptable to use a code approximates the services provided. TRUE, the coder should be able to come up with a code for that is what they provide.
The main mechanisms of evoluation is the natural selection. Through genetic drigt and gene flow, it can also cause evolution.
Hope helps-aparri
Thank yous r always welcome!!
Answer:
#include<iostream>
using namespace std;
int main () {
int n;
int odd=0,even=0;
cout<<"Enter the number of element store in the array: ";
cin>>n;
int arr[n];
for(int i=0;i<n;i++){
cin>>arr[i];
}
for(int i=0;i<n;i++){
if(arr[i]%2==1){
odd++;
}else{
even++;
}
}
cout<<"The number of odd values is: "<<odd<<endl;
cout<<"The number of even values is: "<<even<<endl;
}
Explanation:
Include the library iostream for input/output.
Create the main function and declare the variables.
Then, print the message on the screen and store the value enter by the user for the size of the array. After that, take a for loop and store the values in the array enter by the user.
then, take a for loop for traversing to the array and check the condition for odd and even by using if-else statement.
for odd: If odd values divided by 2 it gives 1 remainder.
for even: If even values divided by 2 it gives zero remainder.
if condition true, then update the counter.
finally, print the result.
Operating systems and web servers