Statistics
2 Questions
0 Answers
RANK
249,328
of 301,436
REPUTATION
0
CONTRIBUTIONS
2 Questions
0 Answers
ANSWER ACCEPTANCE
50.0%
VOTES RECEIVED
0
RANK
of 21,278
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 174,540
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Discussions
AVERAGE NO. OF LIKES
Feeds
Question
how can I write a program that take input(only 2 digit numbers) from the user and prints the division of 1st with respect 2nd(if I select input as 12 the ans would 0.5) .The program must repeat using while loop until both the digits entered are zero
Division of 1st digit with the second digit using while loop using input argument
8 years ago | 1 answer | 0
1
answerQuestion
Recently I create a script in which I take input argument as string.After dividing the first digit with the second digit of number.It calculate the inverse of 2 digits which is not required.I want scalar division.Please guide me where I am wrong
%The code for the script is clc clear a=input('enter the 2 digit number','s') while a>0 b=a(1) c...
8 years ago | 2 answers | 0
