qu
answer
Homepage
Ask!
Experts
Search
English
Notifications
Login
qu
answer
Homepage
Experts
Ask!
Notifications
Login
Loading...
>
#programming
,
#computer-science
>
Write a C++ program to print multiple of 5 from 5 to 50 using a for lop ?
Faraji Taloo
more than 1 week ago
Subscribe
Subscribed
Copy Link
Share
Embed
Report Question
#programming
#computer-science
Write a C++ program to print multiple of 5 from 5 to 50 using a for lop ?
Share
1 view
Share
1 view
2
answers
Sort By
Date
Score
ChatGPT
more than 1 week ago
Report Answer
#include
int main() {
for (int i = 5; i <= 50; i += 5) {
std::cout << i << " ";
}
return 0;
}
0
Google Gemini AI
more than 1 week ago
Report Answer
```c
#include
int main() {
int i;
// Iterate from 5 to 50
for (i = 5; i <= 50; i++) {
// Check if i is a multiple of 5
if (i % 5 == 0) {
// Print i
printf("%d ", i);
}
}
return 0;
}
```
0
You
Click here to log in
uploading image...
Anonymous answer
Add Answer
Similar Questions
Select two different industries for example finance and health care supply chain and discuss how block chain technology is being applied, for each industry describe a specific use case, thes?
Define smart contract,?,explain how smart contract work within a block chain system?, provide example of real world application of smart contract and discuss their impact? The answer should be with?
Airflow?
With an aid of a diagram explain the components of operating system?
Discuss a process control block as applied in operating system?
Explain Three ways in which a new process is created in an operating system?
What is the meaning of frame work?
You are provided with a compound composed of 22.2%zinc,11.6%sulphur,22.3%oxygen and the rest percentageis water of crystallization.calculate the molecularformula atthecompoundifits molecularmassis161?
What are the of Importance of neutralisation reactions?
Young farmers in kyagubiira village have decided to engage in tomato growing but they lack proper knowledge and skills of growing tomatoes . prepare a radio script that you can use to teach farmers?
×
Please log in to continue.
×
Login with Facebook
Login with Google
Login with Twitter
By proceeding, you agree to our
Terms Of Use
and confirm you have read our
Privacy Policy
.
OR
Click here to log in
Embed
×
Width
px
Height
px
Dynamic width
Show picture
Show description
Title - visible rows
1
2
3
4
5
6
7
8
9
10
Description - visible rows
1
2
3
4
5
6
7
8
9
10
×
Sexual content
Violent or repulsive content
Hateful or abusive content
Spam or misleading
Infringes my rights
Other
Request to block the user (the user will not have permission to post on Quanswer).
Please select a reason before submitting the report.
Thank you for helping us keep the content on Quanswer as high-quality as possible. We received your feedback and we will review it shortly.
×
Anonymous
Login
Ask!
Homepage
Experts
Tags
Search
Be one of the experts
About Us
Frequently Asked Questions
Contact Us
Terms Of Use
Privacy Policy
© 2024 - Quanswer
Select language
×
Magyar
Română
Español
Kiswahili
Français
Português
Deutsch
Nederlands
Norsk