#คำสั่ง input
a = input()
print("data of a:",a)
print("Type of a:",type(a))
b = input("Input your name: ")
print("Your name is: ",b)
print("Type of b: ",type(b))
c = int(input("Input Integer number: "))
print("Your number is: ",c)
print("Type of c: ",type(c))
d = float(input("Input float number: "))
print("float number is: ",d)
print("Type of d: ",type(d))
print(c + d)
total = c + d
print("c + d = ",total)
#เขียนโปรเเกรมรับค่า(input)ชื่อ,นามสกุล,อายุ,น้ำหนัก,ส่วนสูง
#เเสดงผล ชื่อ, นามสกุล, อายุ(ปี), น้ำหนัก(กก.) เเละ ส่วนสูง(ซม.)
#โดยมีข้อความหน้าข้อมูล
#เเสดงชนิดข้อมูลของตัวเเปรเเต่ละตัว
#คำนวณค่า BMI เเละเเสดงผล พร้อมทั้งเเสดงชนิดข้อมูลของค่า BMI
# BMI = (weight/(height/100)**2)
คอมพิวเตอร์M.3/6
a = input()
print("data of a:",a)
print("Type of a:",type(a))
b = input("Input your name: ")
print("Your name is: ",b)
print("Type of b: ",type(b))
c = int(input("Input Integer number: "))
print("Your number is: ",c)
print("Type of c: ",type(c))
d = float(input("Input float number: "))
print("float number is: ",d)
print("Type of d: ",type(d))
print(c + d)
total = c + d
print("c + d = ",total)
#เขียนโปรเเกรมรับค่า(input)ชื่อ,นามสกุล,อายุ,น้ำหนัก,ส่วนสูง
#เเสดงผล ชื่อ, นามสกุล, อายุ(ปี), น้ำหนัก(กก.) เเละ ส่วนสูง(ซม.)
#โดยมีข้อความหน้าข้อมูล
#เเสดงชนิดข้อมูลของตัวเเปรเเต่ละตัว
#คำนวณค่า BMI เเละเเสดงผล พร้อมทั้งเเสดงชนิดข้อมูลของค่า BMI
# BMI = (weight/(height/100)**2)