#include<stdio.h> #include<conio.h> int
draw a flow chart to find hcf of two given numbers
Assuming the number is represented by a decimal integer, initialise a counter to zero, then repeatedly divide the number by 10 and until the number is zero. After each division, examine the remainder. Each time the remainder is zero, increment the counter. If the number is represented by a decimal float, repeatedly multiply by 10 until the value is an integer, then perform the previous algorithm.
: Find the percentage error if 625.483 is approximated to 3 significant digits?
' Return the maximum of a,b,c Function max(ByVal a As Integer, ByVal b As Integer, ByVal c As Integer) As Integer Dim maxAB As Integer maxAB = Math.Max(a, b) Return Math.Max(maxAB, c) End Function
sum of individual digit of a positive integer
Well, it's very hard to write a flowchart in text, so I'll give you some pseudo code instead. int number = the given number int sum = 0 loop while number is not 0 sum = sum + (number mod 10) number = number / 10
Draw a flow chart to find the greatest number among two numbers
find number of integer solution of X1+x2+x3=24
flow chart to find whther the given number is perfect or not
Get number Find modulo 2 of number If the result is zero, number is even Else number is odd
enter the number whose digits are to be added num is the given value num=0! k=num%10 sum=sum=k k=num/10 num=k print the sum of the digits
Add the digits together. The sum of the digits of 23 is 5.
draw the flowchart for transpose of a matrice