Author: iPoster

1

Readers Writers Problem Implementation in Java

This is the java program to implement readers writers problem using threads and semaphores In computer science, the first and second readers-writers problems are examples of a common computing problem in concurrency. The two...

0

Java Program to Find Next Prime

This is the Java program to find the next prime NextPrime[n] gives the next prime above n import java.io.*; class nxtprm { public static void main(String[] args) { int n=0,j,flag=0,i=0; System.out.println(“Enter the Limit”); DataInputStream...

0

C Program to Implement Number System Conversion

This is the C program to implement number system conversion,it converts 1.Decimal to Hexadecimal 2.Hexadecimal to Decimal #include #include #include main() { int ch; printf(“Choose any option 1.Decimal to Hexadecimal 2.Hexadecimal to Decimaln”); scanf(“%d”,&ch);...

0

C Program to Find LCM

This is the C Program to find lcm of two numbers LCM=Product of two Numbers/GCD In arithmetic and number theory, the least common multiple (also called the lowest common multiple or smallest common multiple)...