7. Write a program that consists of the following algorithm: num1 =4, num2= 4* 5-11, sale = 0.02 * 1000, first ='D', str = "It is a sunny day". .Your program has to display the results for num1, num2, sale, first and string. 8. What is the output of the following? a) cout « 29/4 << endl; b) cout << "4 + 7 ="« 4 +7 << endl; c) cout << 2 +3 * 5<< endl; d) cout << "Hello \n there." << endl;
7. Write a program that consists of the following algorithm: num1 =4, num2= 4* 5-11, sale = 0.02 * 1000, first ='D', str = "It is a sunny day". .Your program has to display the results for num1, num2, sale, first and string. 8. What is the output of the following? a) cout « 29/4 << endl; b) cout << "4 + 7 ="« 4 +7 << endl; c) cout << 2 +3 * 5<< endl; d) cout << "Hello \n there." << endl;
Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
Related questions
Question
need all questions answered please from both screenshots
![Document1 - Microsoft Word
File
Home
Insert
Page Layout
References
Mailings
Review
View
% Cut
A Find -
Calibri (Body)
11
- A A
Aa
Aal
三、三,、章 刻
AaBbCcDd AaBbCcDd AaBbC AaBbCc AaB AaBbCci AaBbCcDd AaBbCcDd AaBbCcDa AaBbCcDc AaBbCcDd
a Copy
ae Replace
Paste
в I
U - abe x,
I Normal
I No Spacing Heading 1
Heading 2
Title
Subtitle
Subtle Emp.
Emphasis
Change
V Format Painter
Intense Em...
Strong
Quote
A Select -
Styles -
Clipboard
Paragraph
Styles
Editing
Font
Document Recovery
Word has recovered the following files. Save the
ones you wish to keep.
Available files
W GEOE 112 Assignment 3 _1_ (2) ...
Version created last time the user...
7. Write a program that consists of the following algorithm: num1 =4, num2= 4* 5-11, sale = 0.02 *
1000, first ='D', str = "It is a sunny day". .Your program has to display the results for num1, num2, sale,
11:58 PM Thursday, April 29, 2021
first and string.
8. What is the output of the following?
a) cout << 29/4 << endl;
b) cout << "4 +7 = " << 4 +7 << endl;
c) cout << 2 + 3 * 5 << endl;
d) cout << "Hello \n there." << endl;
? Which file do I want to save?
Close
Page: 1 of 1
Words: 89
100%
11:31 AM
O Type here to search
W
5/4/2021
> « O » +](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa72ef3a7-0745-4034-8c72-4316fdb0ff7b%2Fb882a52d-307e-4325-b59d-1c192139e92d%2Faqvp78h_processed.png&w=3840&q=75)
Transcribed Image Text:Document1 - Microsoft Word
File
Home
Insert
Page Layout
References
Mailings
Review
View
% Cut
A Find -
Calibri (Body)
11
- A A
Aa
Aal
三、三,、章 刻
AaBbCcDd AaBbCcDd AaBbC AaBbCc AaB AaBbCci AaBbCcDd AaBbCcDd AaBbCcDa AaBbCcDc AaBbCcDd
a Copy
ae Replace
Paste
в I
U - abe x,
I Normal
I No Spacing Heading 1
Heading 2
Title
Subtitle
Subtle Emp.
Emphasis
Change
V Format Painter
Intense Em...
Strong
Quote
A Select -
Styles -
Clipboard
Paragraph
Styles
Editing
Font
Document Recovery
Word has recovered the following files. Save the
ones you wish to keep.
Available files
W GEOE 112 Assignment 3 _1_ (2) ...
Version created last time the user...
7. Write a program that consists of the following algorithm: num1 =4, num2= 4* 5-11, sale = 0.02 *
1000, first ='D', str = "It is a sunny day". .Your program has to display the results for num1, num2, sale,
11:58 PM Thursday, April 29, 2021
first and string.
8. What is the output of the following?
a) cout << 29/4 << endl;
b) cout << "4 +7 = " << 4 +7 << endl;
c) cout << 2 + 3 * 5 << endl;
d) cout << "Hello \n there." << endl;
? Which file do I want to save?
Close
Page: 1 of 1
Words: 89
100%
11:31 AM
O Type here to search
W
5/4/2021
> « O » +
![Document1 - Microsoft Word
File
Home
Insert
Page Layout
References
Mailings
Review
View
% Cut
A Find -
Calibri (Body)
- A A
Aal
三、三,、章 刻
11
Aa
AaBbCcDd AaBbCcDd AaBbC AaBbCc AaB AaBbCci AaBbCcDd AaBbCcDd AaBbCcDa AaBbCcDc AaBbCcDd
a Copy
ae Replace
Paste
в I
U - abe x,
I Normal
I No Spacing Heading 1
Heading 2
Title
Subtitle
Subtle Emp.
Emphasis
Intense Em...
Strong
Quote
Change
A Select -
V Format Painter
Styles -
Clipboard
Paragraph
Styles
Editing
Font
Document Recovery
Word has recovered the following files. Save the
ones you wish to keep.
4. Write a program that prompts the user to input their names and age and then displays your name and
age.
Available files
5. Solve the following and show all work
W GEOE 112 Assignment 3 _1_ (2) ...
Version created last time the user...
11:58 PM Thursday, April 29, 2021
i) 34 % 5
ii) 14 + 5 % 2 - 3
iii) 4 % 6
4. Determine the position of the character i and I and the length of the string
"C++ is a wonderful subject."
? Which file do I want to save?
Close
Page: 1 of 1
Words: 65
100%
11:28 AM
O Type here to search
W
5/4/2021
> « o » +](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fa72ef3a7-0745-4034-8c72-4316fdb0ff7b%2Fb882a52d-307e-4325-b59d-1c192139e92d%2F1185ci_processed.png&w=3840&q=75)
Transcribed Image Text:Document1 - Microsoft Word
File
Home
Insert
Page Layout
References
Mailings
Review
View
% Cut
A Find -
Calibri (Body)
- A A
Aal
三、三,、章 刻
11
Aa
AaBbCcDd AaBbCcDd AaBbC AaBbCc AaB AaBbCci AaBbCcDd AaBbCcDd AaBbCcDa AaBbCcDc AaBbCcDd
a Copy
ae Replace
Paste
в I
U - abe x,
I Normal
I No Spacing Heading 1
Heading 2
Title
Subtitle
Subtle Emp.
Emphasis
Intense Em...
Strong
Quote
Change
A Select -
V Format Painter
Styles -
Clipboard
Paragraph
Styles
Editing
Font
Document Recovery
Word has recovered the following files. Save the
ones you wish to keep.
4. Write a program that prompts the user to input their names and age and then displays your name and
age.
Available files
5. Solve the following and show all work
W GEOE 112 Assignment 3 _1_ (2) ...
Version created last time the user...
11:58 PM Thursday, April 29, 2021
i) 34 % 5
ii) 14 + 5 % 2 - 3
iii) 4 % 6
4. Determine the position of the character i and I and the length of the string
"C++ is a wonderful subject."
? Which file do I want to save?
Close
Page: 1 of 1
Words: 65
100%
11:28 AM
O Type here to search
W
5/4/2021
> « o » +
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps with 4 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![Database System Concepts](https://www.bartleby.com/isbn_cover_images/9780078022159/9780078022159_smallCoverImage.jpg)
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
![Starting Out with Python (4th Edition)](https://www.bartleby.com/isbn_cover_images/9780134444321/9780134444321_smallCoverImage.gif)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
![Digital Fundamentals (11th Edition)](https://www.bartleby.com/isbn_cover_images/9780132737968/9780132737968_smallCoverImage.gif)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
![C How to Program (8th Edition)](https://www.bartleby.com/isbn_cover_images/9780133976892/9780133976892_smallCoverImage.gif)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
![Database Systems: Design, Implementation, & Manag…](https://www.bartleby.com/isbn_cover_images/9781337627900/9781337627900_smallCoverImage.gif)
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
![Programmable Logic Controllers](https://www.bartleby.com/isbn_cover_images/9780073373843/9780073373843_smallCoverImage.gif)
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education