SlideShare a Scribd company logo
1 of 1
Download to read offline
Write C++ variable declarations to create one int variable called number, two real variables
called signal and pi where pi is initialized to 3 .14159, and two bool variables called flag and bit
where flag is initialized to false. No main () program is necessary and comments are optional. Be
sure to strike the Enter key before you click on the Save button.
Solution
int number;
double signal;
double pi=3.14159;//initialized
bool flag=false;//initialized
bool bit;

More Related Content

More from arihantcomp1008

Why do a lot of scientist feel like god doesnt exist What is th.pdf
Why do a lot of scientist feel like god doesnt exist What is th.pdfWhy do a lot of scientist feel like god doesnt exist What is th.pdf
Why do a lot of scientist feel like god doesnt exist What is th.pdf
arihantcomp1008
 
true false 1, Sampling is always wrong because it is stup.pdf
true false 1, Sampling is always wrong because it is stup.pdftrue false 1, Sampling is always wrong because it is stup.pdf
true false 1, Sampling is always wrong because it is stup.pdf
arihantcomp1008
 
Susie has influenza A. She lives in a residence hall where there hav.pdf
Susie has influenza A. She lives in a residence hall where there hav.pdfSusie has influenza A. She lives in a residence hall where there hav.pdf
Susie has influenza A. She lives in a residence hall where there hav.pdf
arihantcomp1008
 
Section 5 Controlling Risk Given the following categories or areas .pdf
Section 5 Controlling Risk Given the following categories or areas .pdfSection 5 Controlling Risk Given the following categories or areas .pdf
Section 5 Controlling Risk Given the following categories or areas .pdf
arihantcomp1008
 
5)Sonny has the following account balances as of January 1, 2018 bef.pdf
5)Sonny has the following account balances as of January 1, 2018 bef.pdf5)Sonny has the following account balances as of January 1, 2018 bef.pdf
5)Sonny has the following account balances as of January 1, 2018 bef.pdf
arihantcomp1008
 
Question In C Programming In mathematics, a set is a colle...Sav.pdf
Question In C Programming In mathematics, a set is a colle...Sav.pdfQuestion In C Programming In mathematics, a set is a colle...Sav.pdf
Question In C Programming In mathematics, a set is a colle...Sav.pdf
arihantcomp1008
 
Q1. What is the primary reason that Fenders blue butterflies are e.pdf
Q1. What is the primary reason that Fenders blue butterflies are e.pdfQ1. What is the primary reason that Fenders blue butterflies are e.pdf
Q1. What is the primary reason that Fenders blue butterflies are e.pdf
arihantcomp1008
 
Paraphrase the following passageLong before scientists were able .pdf
Paraphrase the following passageLong before scientists were able .pdfParaphrase the following passageLong before scientists were able .pdf
Paraphrase the following passageLong before scientists were able .pdf
arihantcomp1008
 

More from arihantcomp1008 (20)

Why do a lot of scientist feel like god doesnt exist What is th.pdf
Why do a lot of scientist feel like god doesnt exist What is th.pdfWhy do a lot of scientist feel like god doesnt exist What is th.pdf
Why do a lot of scientist feel like god doesnt exist What is th.pdf
 
What is the United States Comparative Advantage....please be specifi.pdf
What is the United States Comparative Advantage....please be specifi.pdfWhat is the United States Comparative Advantage....please be specifi.pdf
What is the United States Comparative Advantage....please be specifi.pdf
 
true false 1, Sampling is always wrong because it is stup.pdf
true false 1, Sampling is always wrong because it is stup.pdftrue false 1, Sampling is always wrong because it is stup.pdf
true false 1, Sampling is always wrong because it is stup.pdf
 
The rearrangement of alleles by the process of crossing over is call.pdf
The rearrangement of alleles by the process of crossing over is call.pdfThe rearrangement of alleles by the process of crossing over is call.pdf
The rearrangement of alleles by the process of crossing over is call.pdf
 
Susie has influenza A. She lives in a residence hall where there hav.pdf
Susie has influenza A. She lives in a residence hall where there hav.pdfSusie has influenza A. She lives in a residence hall where there hav.pdf
Susie has influenza A. She lives in a residence hall where there hav.pdf
 
Section 5 Controlling Risk Given the following categories or areas .pdf
Section 5 Controlling Risk Given the following categories or areas .pdfSection 5 Controlling Risk Given the following categories or areas .pdf
Section 5 Controlling Risk Given the following categories or areas .pdf
 
5)Sonny has the following account balances as of January 1, 2018 bef.pdf
5)Sonny has the following account balances as of January 1, 2018 bef.pdf5)Sonny has the following account balances as of January 1, 2018 bef.pdf
5)Sonny has the following account balances as of January 1, 2018 bef.pdf
 
Question In C Programming In mathematics, a set is a colle...Sav.pdf
Question In C Programming In mathematics, a set is a colle...Sav.pdfQuestion In C Programming In mathematics, a set is a colle...Sav.pdf
Question In C Programming In mathematics, a set is a colle...Sav.pdf
 
Q1. What is the primary reason that Fenders blue butterflies are e.pdf
Q1. What is the primary reason that Fenders blue butterflies are e.pdfQ1. What is the primary reason that Fenders blue butterflies are e.pdf
Q1. What is the primary reason that Fenders blue butterflies are e.pdf
 
Normality assumption is very important. A researcher is interested i.pdf
Normality assumption is very important. A researcher is interested i.pdfNormality assumption is very important. A researcher is interested i.pdf
Normality assumption is very important. A researcher is interested i.pdf
 
Punnett square Father and mother are heterozygous and each are .pdf
Punnett square Father and mother are heterozygous and each are .pdfPunnett square Father and mother are heterozygous and each are .pdf
Punnett square Father and mother are heterozygous and each are .pdf
 
Property Values Is this rooted tree Leaf vertices Intenal vertices A.pdf
Property Values Is this rooted tree Leaf vertices Intenal vertices A.pdfProperty Values Is this rooted tree Leaf vertices Intenal vertices A.pdf
Property Values Is this rooted tree Leaf vertices Intenal vertices A.pdf
 
Predict the type of bonding that holds the following atomsmolecules .pdf
Predict the type of bonding that holds the following atomsmolecules .pdfPredict the type of bonding that holds the following atomsmolecules .pdf
Predict the type of bonding that holds the following atomsmolecules .pdf
 
Please Explain CompletelyWhat is the reason the celiac trunk calle.pdf
Please Explain CompletelyWhat is the reason the celiac trunk calle.pdfPlease Explain CompletelyWhat is the reason the celiac trunk calle.pdf
Please Explain CompletelyWhat is the reason the celiac trunk calle.pdf
 
Paraphrase the following passageLong before scientists were able .pdf
Paraphrase the following passageLong before scientists were able .pdfParaphrase the following passageLong before scientists were able .pdf
Paraphrase the following passageLong before scientists were able .pdf
 
Plant diversityConiferophyta and anthrophyta do not haveuse flag.pdf
Plant diversityConiferophyta and anthrophyta do not haveuse flag.pdfPlant diversityConiferophyta and anthrophyta do not haveuse flag.pdf
Plant diversityConiferophyta and anthrophyta do not haveuse flag.pdf
 
List the 7 participants in Metabolic Reactions and then describe the.pdf
List the 7 participants in Metabolic Reactions and then describe the.pdfList the 7 participants in Metabolic Reactions and then describe the.pdf
List the 7 participants in Metabolic Reactions and then describe the.pdf
 
Joe digs a ditch in 3.2 hours. Joe working with George can did the.pdf
Joe digs a ditch in 3.2 hours. Joe working with George can did the.pdfJoe digs a ditch in 3.2 hours. Joe working with George can did the.pdf
Joe digs a ditch in 3.2 hours. Joe working with George can did the.pdf
 
In some regions, particular plant foods are emphasized. As a specifi.pdf
In some regions, particular plant foods are emphasized. As a specifi.pdfIn some regions, particular plant foods are emphasized. As a specifi.pdf
In some regions, particular plant foods are emphasized. As a specifi.pdf
 
In binary star systems we can often measure the sum of the masses of.pdf
In binary star systems we can often measure the sum of the masses of.pdfIn binary star systems we can often measure the sum of the masses of.pdf
In binary star systems we can often measure the sum of the masses of.pdf
 

Recently uploaded

Recently uploaded (20)

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptxCOMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
COMMUNICATING NEGATIVE NEWS - APPROACHES .pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
dusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learningdusjagr & nano talk on open tools for agriculture research and learning
dusjagr & nano talk on open tools for agriculture research and learning
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
What is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptxWhat is 3 Way Matching Process in Odoo 17.pptx
What is 3 Way Matching Process in Odoo 17.pptx
 
Our Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdfOur Environment Class 10 Science Notes pdf
Our Environment Class 10 Science Notes pdf
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17Model Attribute _rec_name in the Odoo 17
Model Attribute _rec_name in the Odoo 17
 
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptxOn_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
On_Translating_a_Tamil_Poem_by_A_K_Ramanujan.pptx
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Tatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf artsTatlong Kwento ni Lola basyang-1.pdf arts
Tatlong Kwento ni Lola basyang-1.pdf arts
 
Simple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdfSimple, Complex, and Compound Sentences Exercises.pdf
Simple, Complex, and Compound Sentences Exercises.pdf
 
Introduction to TechSoup’s Digital Marketing Services and Use Cases
Introduction to TechSoup’s Digital Marketing  Services and Use CasesIntroduction to TechSoup’s Digital Marketing  Services and Use Cases
Introduction to TechSoup’s Digital Marketing Services and Use Cases
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 

Write C++ variable declarations to create one int variable called num.pdf

  • 1. Write C++ variable declarations to create one int variable called number, two real variables called signal and pi where pi is initialized to 3 .14159, and two bool variables called flag and bit where flag is initialized to false. No main () program is necessary and comments are optional. Be sure to strike the Enter key before you click on the Save button. Solution int number; double signal; double pi=3.14159;//initialized bool flag=false;//initialized bool bit;