SlideShare a Scribd company logo
/*Write a program that generates the following output using a single nested loop
$
##
$$$
#### */
---------------------------------
/*Show 1st 8 FIBONACCI Number *
--------------------------------
/*Write a program that input two number interchange the value of and then
display them without using third variable.*/
------------------------
/*Show out
****
***
**
* */
------------------------
Triangle */
---------------------
/*Take input of Three n.o if the are not Equal,then find the Smallest n.o*/
Take input of two n.o if 2nd n.o is greater than 1st,display the division
as follow i.e. 1st=16 2nd=5 Ans=5*3+1=16*/
-------------------------
/*Show out
*****
*****
***** */
-----------------------
Show out
*
**
***
**** */
-------------------
/*Take input a n.o and find if it is divisible by 10 or not*
---------------------
/* d=++a + a-- - b++ + --c = 1*/
----------------------------
SUM OF 1ST 6TH PRIME NUMBER*/
------------------------------
entr 10 student age and show average age*/
---------------------------
Enter The Amount Of The Bill And Discount At The Rate Of 10% */
----------------------------------

More Related Content

PDF
Torchbearersnotebook.blogspot.com program to create a list in python and valu...
DOC
Program For Parsing2
PPTX
12c Mini Lesson - Better Defaults
PDF
Introduction of Linux
PPT
Circular linked list
PPT
Computer notes - Expression Tree
PPT
1.4 expression tree
PPT
Unit ii(dsc++)
Torchbearersnotebook.blogspot.com program to create a list in python and valu...
Program For Parsing2
12c Mini Lesson - Better Defaults
Introduction of Linux
Circular linked list
Computer notes - Expression Tree
1.4 expression tree
Unit ii(dsc++)

What's hot (6)

PPTX
Binary expression tree
PPT
IBM Informix Database SQL Set operators and ANSI Hash Join
TXT
Substitute creation
PDF
Discover the power of Recursive SQL and query transformation with Informix da...
PDF
Hex file and regex cheat sheet
PDF
STACK IMPLEMENTATION USING SINGLY LINKED LIST
Binary expression tree
IBM Informix Database SQL Set operators and ANSI Hash Join
Substitute creation
Discover the power of Recursive SQL and query transformation with Informix da...
Hex file and regex cheat sheet
STACK IMPLEMENTATION USING SINGLY LINKED LIST
Ad

Viewers also liked (7)

PPTX
Chapter 5.0
PPTX
Chapter 5.3
PPT
Nested loop
PPTX
Vb.net (loop structure)
PPTX
Introduction to VB.NET - UP SITF
PPTX
human computer interface
PPTX
Human computer interaction
Chapter 5.0
Chapter 5.3
Nested loop
Vb.net (loop structure)
Introduction to VB.NET - UP SITF
human computer interface
Human computer interaction
Ad

Similar to Assignement code (20)

PPTX
Assignement of c++
DOCX
Assignement of programming & problem solving u.s ass.(1)
DOCX
List of programs to practice for ICSE
DOCX
Oop lab assignment 01
PPTX
Lab01.pptx
PDF
Exercise1 java
PDF
Sasin nisar
DOCX
Important C program of Balagurusamy Book
PDF
Programming Fundamental handouts
PDF
Programming in C Lab
PPT
Algorithms with-java-1.0
PDF
PF LAB ASSIGNMENT
DOCX
Java Practice Set
DOCX
Assignment c++12
PDF
Cse115 lecture08repetitionstructures part02
PPTX
Lab101.pptx
Assignement of c++
Assignement of programming & problem solving u.s ass.(1)
List of programs to practice for ICSE
Oop lab assignment 01
Lab01.pptx
Exercise1 java
Sasin nisar
Important C program of Balagurusamy Book
Programming Fundamental handouts
Programming in C Lab
Algorithms with-java-1.0
PF LAB ASSIGNMENT
Java Practice Set
Assignment c++12
Cse115 lecture08repetitionstructures part02
Lab101.pptx

More from Syed Umair (20)

DOCX
Tree 4
DOCX
Title page
DOCX
DOCX
DOCX
DOCX
Perception
DOCX
New microsoft office word document
DOCX
New microsoft office word document (2)
DOCX
DOCX
C++ 4
DOCX
DOCX
Assignement of programming & problem solving
DOCX
Assignement of discrete mathematics
DOCX
DOCX
DOCX
DOCX
Assignement of discrete mathematics
DOCX
Assignement c++
DOCX
Truth table a.r
DOCX
Static keyword u.s ass.(2)
Tree 4
Title page
Perception
New microsoft office word document
New microsoft office word document (2)
C++ 4
Assignement of programming & problem solving
Assignement of discrete mathematics
Assignement of discrete mathematics
Assignement c++
Truth table a.r
Static keyword u.s ass.(2)

Recently uploaded (20)

PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PPTX
web development for engineering and engineering
PDF
composite construction of structures.pdf
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
PPT on Performance Review to get promotions
PPT
Project quality management in manufacturing
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
Welding lecture in detail for understanding
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PDF
Arduino robotics embedded978-1-4302-3184-4.pdf
PPTX
Sustainable Sites - Green Building Construction
PPTX
Strings in CPP - Strings in C++ are sequences of characters used to store and...
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
web development for engineering and engineering
composite construction of structures.pdf
Lecture Notes Electrical Wiring System Components
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
bas. eng. economics group 4 presentation 1.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Foundation to blockchain - A guide to Blockchain Tech
PPT on Performance Review to get promotions
Project quality management in manufacturing
Embodied AI: Ushering in the Next Era of Intelligent Systems
Welding lecture in detail for understanding
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Arduino robotics embedded978-1-4302-3184-4.pdf
Sustainable Sites - Green Building Construction
Strings in CPP - Strings in C++ are sequences of characters used to store and...
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT

Assignement code

  • 1. /*Write a program that generates the following output using a single nested loop $ ## $$$ #### */ --------------------------------- /*Show 1st 8 FIBONACCI Number * -------------------------------- /*Write a program that input two number interchange the value of and then display them without using third variable.*/ ------------------------ /*Show out **** *** ** * */ ------------------------ Triangle */ --------------------- /*Take input of Three n.o if the are not Equal,then find the Smallest n.o*/ Take input of two n.o if 2nd n.o is greater than 1st,display the division as follow i.e. 1st=16 2nd=5 Ans=5*3+1=16*/ ------------------------- /*Show out ***** ***** ***** */ ----------------------- Show out * ** *** **** */ ------------------- /*Take input a n.o and find if it is divisible by 10 or not* --------------------- /* d=++a + a-- - b++ + --c = 1*/ ---------------------------- SUM OF 1ST 6TH PRIME NUMBER*/ ------------------------------ entr 10 student age and show average age*/ --------------------------- Enter The Amount Of The Bill And Discount At The Rate Of 10% */ ----------------------------------