print ("Enter first number") f1 = input () print ("Enter second number") f2 = input () print ("Sum of these two numbers is", int(f1) + int(f2)) #Output of this program Enter first number 21 Enter second number 8 Sum of these two numbers is 29
Every learning has some basic concepts that should be understood thoroughly. A person can be good at mathematics if the basic concepts are clear to study maths at higher levels, in English, one should be clear with English grammar so that they can speak, write and communicate very well in English. So, to move to a higher level, one should be clear with their basic level of knowledge. There are the following concepts in computer programming that should be clear for learning and hands-on in computer programming: We should know about the programming environment. The grammar of computer programming, known as Syntax. Role of data types, variables, and keywords in computer programming. Different types of loops and its role in computer programming What are input and output operations in computer programming Functions and its role Various types of logical and arithmetic operators. To become a good computer programme...
To translate the design of system into a computer language format: The coding is the process of transforming the design of a system into a computer language format, which can be executed by a computer and that perform tasks as specified by the design of operation during the design phase. To reduce the cost of later phases: The cost of testing and maintenance can be significantly reduced with efficient coding. Making the program more readable: Program should be easy to read and understand. It increases code understanding having readability and understandability as a clear objective of the coding activity can itself help in producing more maintainable software. For implementing our design into code, we require a high-level functional language. A programming language should have the following characteristics:
Comments
Post a Comment