Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
write a program in python to obtain 3 numbers and print their sum.
Home
Education
write a program in python to obtain 3 numbers and...
asked
Nov 29, 2021
in
Education
by
JackTerrance
write a program in python to obtain 3 numbers and print their sum. Select the correct answer from above options
computer-science-interview-questions
computer-science-questions
1
Answer
0
votes
answered
Nov 29, 2021
by
JackTerrance
Best answer
x=20 y=30 z=15 a=(x+y+z) print(a) there u go
Related questions
0
votes
Q: write a program in Python to print the sum of the following series: s=1+x+x^2+x^3+…..+x^n
write a program in Python to print the sum of the following series: s=1+x+x^2+x^3+…..+x^n Select the correct answer from above options...
asked
Dec 9, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a python program to print first n(entered by user) even natural numbers.
Write a python program to print first n(entered by user) even natural numbers. Select the correct answer from above options...
asked
Dec 25, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: 2 Write an algorithm to input two numbers and find their sum and difference
2 Write an algorithm to input two numbers and find their sum and difference Select the correct answer from above options...
asked
Nov 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to input three integers and find the difference between their sum and difference
write a program to input three integers and find the difference between their sum and difference Select the correct answer from above options...
asked
Dec 20, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: How to write a program in JAVA to print the sum of ASCII values of a particular word input ?
How to write a program in JAVA to print the sum of ASCII values of a particular word input ? Select the correct answer from above options...
asked
Dec 28, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in Java to print all palindromic numbers between 150-250.
Write a program in Java to print all palindromic numbers between 150-250. Select the correct answer from above options...
asked
Dec 1, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: Write a program in python to insert ten friends name in a list, then print 3rd, 5th and 9th value from the list (using data structure)
Write a program in python to insert ten friends name in a list, then print 3rd, 5th and 9th value from the list (using data structure) Select the correct answer from above options...
asked
Dec 14, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: WAP in java to input 2 numbers from user and print their difference (Always Positive).
WAP in java to input 2 numbers from user and print their difference (Always Positive). Select the correct answer from above options...
asked
Dec 19, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: What would be the output of the following program segments? Give reasons to justify your answer.i) System.out.print(“Sum =”+6 + 2);ii) System.out.print(“Sum = ”+ ‘B’+ ‘2’);iii) System.out.print(“Sum = ”+ 6 + ‘B’);iv) System.out.print(“Sum = ”+ (‘B’ + ‘a’));
What would be the output of the following program segments? Give reasons to justify your answer. i) System.out.print( Sum ... + a ); Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: java program to input any string then print each word along with their length
java program to input any string then print each word along with their length Select the correct answer from above options...
asked
Dec 31, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program in python to enter the mark in 3 subjects and calculate total and assign grade. If total >= 200 grade is ‘A’ otherwise grade is ‘B’
write a program in python to enter the mark in 3 subjects and calculate total and assign grade. If total >= 200 ... grade is B' Select the correct answer from above options...
asked
Nov 27, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a C program to Read a number.Find sum of digit at even position in a number and multiplication of digit at odd position in a number.
write a C program to Read a number.Find sum of digit at even position in a number and multiplication of digit ... position in a number. Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a C program to Read a number . find sum of digit at even position in a number and
write a C program to Read a number . find sum of digit at even position in a number and multiplication of ... position in a number. Select the correct answer from above options...
asked
Dec 13, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to display and find the sum of any ten natural number.
write a program to display and find the sum of any ten natural number. Select the correct answer from above options...
asked
Dec 5, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
0
votes
Q: write a program to display and find the sum of any ten natural number.
write a program to display and find the sum of any ten natural number. Select the correct answer from above options...
asked
Nov 26, 2021
in
Education
by
JackTerrance
computer-science-interview-questions
computer-science-questions
...