Numbers and Math Functions – Activity

Advertisements
Advertisements
Advertisements3
Advertisements4
Advertisements6
Advertisements66
1. Insert the correct syntax to convert x into a floating point number. x=10 x= ______(x).
Ans.  float
2.  Insert the correct syntax to convert x into a integer. x = 5.5 x = _________(x)

Ans.  int
3. Divide 10 by 2, and print the result print(10 __ 2)

Ans. /
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Author: Lakshmi Prasanna Ponnala

Completed M.Tech in Digital Electronics and Communication Systems.

Leave a Reply

error: Content is protected !!

Discover more from ece4uplp

Subscribe now to keep reading and get access to the full archive.

Continue reading