Program to add two integer Number.

  • num1 = 1.5
  • num2 = 6.3
  • # Add two numbers
  • sum = float(num1) + float(num2)
  • # Display the sum
  • print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

 

 

  • num1 = 1.5
  • num2 = 6.3
  • # Add two numbers
  • sum = float(num1) + float(num2)
  • # Display the sum
  • print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

 

  • num1 = 1.5
  • num2 = 6.3
  • # Add two numbers
  • sum = float(num1) + float(num2)
  • # Display the sum
  • print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))
  • num1 = 1.5
  • num2 = 6.3
  • # Add two numbers
  • sum = float(num1) + float(num2)
  • # Display the sum
  • print('The sum of {0} and {1} is {2}'.format(num1, num2, sum))

C Language

C is a procedural programming language. It was initially developed by Dennis Ritchie between 1969 and 1973. It was mainly developed as a system programming language to write operating system. The main features of C language include low-level access to memory, simple set of keywords, and clean style, these features make C language suitable for system programming like operating system or compiler development.