Computers and Technology, 08.02.2021 19:10 rainbowmc6
Write a piece of codes that asks the user to enter a month (an integer), a day (another integer), and a two-digit year. The program should then determine whether the month times the day is equal to the year. If so, it should display a message saying the date is magic. Otherwise, it should display a message saying the date is not magic.
#include
using namespace std;
int main()
{
int day;
int month;
int year;
cout<<"enter year"<
cin>>year;
cout<<"enter day"<
cin>>day;
cout<<"enter month"<
cin>>month;
//programology..
if(month*day==year)
{
cout<<"its magic programology year"<
}
else
{
cout<<"its not magic year"<
}
}
Answers: 3
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place? a. the slides panel b. the center panel c. the tasks panel, under the masters pages tab d. the tasks panel, under the layouts tab
Answers: 3
Computers and Technology, 22.06.2019 20:50
What is the difference between windows 7 and windows 10?
Answers: 1
Computers and Technology, 23.06.2019 13:30
Anetwork security application that prevents access between a private and trusted network and other untrusted networks
Answers: 1
Computers and Technology, 23.06.2019 14:30
Select the correct answer. andy received a potentially infected email that was advertising products. andy is at risk of which type of security threat? a. spoofing b. sniffing c. spamming d. phishing e. typo-squatting
Answers: 2
Write a piece of codes that asks the user to enter a month (an integer), a day (another integer), an...
Spanish, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50
Mathematics, 03.02.2021 21:50