Want this question answered?
WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
Write your own prime number program and find out.
#include<stdio.h> #include<conio.h> void main() { int no; clrscr(); printf("Enter a Number:"); scanf("%d",&no); if(no>0) printf("Your Number is Positive"); else printf("Your number is Negative"); getch(); }
How do you write 250% as a mixed number
How do you write 0.259 as a mixed number.
import java.io.*; public class Jerry { public static void main(String as[]) throws IOException { int k=Integer.parseInt(as[0]); int n=k; int d=0,s=0; while(n>0) { d=n%10; s=s+(d*d*d); n=n/10; } if(k==s) System.out.println("Armstrong number"); else System.out.println("not Armstrong number"); } }
Same with other Visual Basic program, programming in FoxPro will require you to have the right syntax.
Start a new Visual C++ project then begin writing your C code.
Write a program to convert a 2-digit BCD number into hexadecimal
There have been many versions of Visual Basic. It is a program which allows you to write other computer programs. Each version of Visual Basic has come with an editor to allow you to write and edit code. This is called the "IDE", or "Integrated Development Environment".
Once you have the Visual Studio program open, go to File->New Project and select the language you want to write your program in. If one or more languages do not appear, you probably didn't choose to have them installed when you installed Visual Studio.
import java.io.*; class Armstrong { public static void main()throws IOException { BufferedReader in=new BufferedReader(new InputStreamReader(System.in)); System.out.println("Enter a number"); int a=Integer.parseInt(in.readLine()); int n1=a,rev=0,d=0; while(a!=0) { d=a%10; rev=rev+d*d*d; a=a/10; } if(rev==n1) System.out.println("It is a armstrong number "); else System.out.println("It is not a armstrong number "); } }
WRITE A PROGRAM TO CONVERT A 2-DIGIT bcd NUMBER INTO HEXADECIMAL
Write a program which takes any number of days from the user. the program should display the number of years, number of months formed by these days as well as the remaining days.
write a c++ program to convert binary number to decimal number by using while statement
You don't really need math to write programs in Visual Basic or most any other language unless the program is about mathematical situations. Understanding of mathematical logic concept (AND OR NOT IMPLIES) does makes thing easier.
write a program that reads a phrase and prints the number of lowercase latters in it using a function for counting? in C program