#include<stdio.h> void main() { int n,i=2; printf("\nEnter a number \n"); scanf("%d",&n); for(i=2;i<=n-1;i++) { if(n%i==0) { printf("%d isn't prime...!\n",n); break; } } if(i==n) printf("%d is prime...!\n",n); } Output Video Class : Prastheena Learning Class
B.Sc. Computer Science Computer science studies computers and computing and their theoretical and practical applications . Computer science applies the principles of mathematics, engineering, and logic to many functions, including algorithm formulation, software and hardware development, and artificial intelligence. After plus two, you can choose BSC COMPUTER SCIENCE Career Opportunities Software Developer. Web Developer. Computer Programmer. Network Administrator. Software Engineer. Systems Manager. Computer Hardware Engineer. Information Security Analyst. What is the qualification for BSc CS after the 12th? Candidates who have passed the 12th grade or an equivalent exam from a recognized board with an average score of 50% in the science stream are eligible for full-time BSc courses. 2) The course lasts for three years. 3) The merit list determines eligibility for admission. However, some schools favor entrance exams. Which is better, BSc or BCA? Field of...
ALGORITHM * The origin of the word algorithm to a famous Arab mathematician, ABU JAFAR MOHAMMED IBN MUSAA AL- KHOWARIZMI . * T he word 'algorithm' is derived from the last part of his name AL-KHOWARIZMI. * In computer terminology an algorithm may be defined as a finite sequence of instructions to solve a problem. * It is a step-by-step procedure to solve a problem, where each step represents a specific task to be carried out. CHARACTERISTICS · It should begin with instructions to accept inputs. · Use variables to refer the data , where variables are user-defined works consisting of alphabets & numerals. · Each & every instructions should be precise & unambiguous. · Each instructions must be sufficient · ...
Comments