Answer:
They take a step-by-step approach to performing a task.
They break the task into manageable steps.
They identify the tasks that will repeat.
They can be written in a computer language to create a program for a computer to follow.
Explanation:
An algorithm is made up of a series of instructions that have a start point that eventually culminates in an endpoint. It is used in calculations and data processing. Some of the characteristics of algorithms include;
1. They take a step-by-step approach to performing a task. There are well-defined tasks that pass through a series of successive steps before the final culmination.
2. They break the task into manageable steps. There are definite manageable steps that tasks must be broken into to ensure successful execution.
3. They identify the tasks that will repeat and execute them when the program is reading.
4. They can be written in a computer language to create a program for a computer to follow.
Answer:
# include <iostream>
#include<stdio.h>
using namespace std;
bool IsLeapYear(int y)
int main()
{
int y;
cout<<"Enter the Year to check Leap or Not"<<endl;
cin>>y;
IsLeapYear(int y);
getch();
}
bool IsLeapYear(int y)
{
if (y%4==0)
{
if (y%100==0)
{
if (y%400==0 )
{
cout<"The year is leap Year";
}
else
{
cout<<" The year is not Leap Year";
}
}
else
{
cout<<"The year is Leap Year" ;
}
}
else
{
cout<<"The year is not Leap Year";
}
}
Explanation:
In this program a function has been defined named as IfLeapYear, to check that whether the entered year is leap year or not. An year taken as integer data type named as y to enter the year to check. If the year is divisible by 4 but not divisible by 100 is the leap year. If the year is divisible by 4, divisible by 100 and also divisible by 400 is the century year and is also the leap year.
To check all the statements, Nested if-else conditions has been used to check multiple requirements of the leap year.
Answer:
Presentations
Purchasing Office 365 or pirating which is illegal.
Slides
Answer: you said "Tamara needs to use
operators to organize the students' grades, then
operators to compare the results."
i think your right
Explanation:
sounds right.