Posts

Print the prime number from 2 to n where n is natural number given in C++

C++ program to check whether a given number is an Armstrong number or not

Write a c++ program to Print the sum of digits of a given number

Write a c program to illustrate use of data type enum.

Write a c program that opens an existing text file and copies it to a new text file with all lowercase letters changed to capital letters and all other characters unchanged.

Write a C program to create a structure Student containing fields for Roll No., Name, Class, Year and Total Marks. Create 10 students and store them in a file.

Write a program to demonstrate the call by value and the call by reference concepts in c.

Write a c program to illustrate the use of storage classes.

Write a c program to find the GCD of two numbers using iteration and recursion

Write a c program to print the reverse of a given number.

Write a Java program that correctly implements the producer – consumer problem using the concept of inter thread communication.

Write a Java program that implements a multi-thread application that has three threads. First thread generates a random integer every 1 second and if the value is even, the second thread computes the square of the number and prints. If the value is odd, the third thread will print the value of the cube of the number.

Write a Java program for the following: Create a doubly linked list of elements. Delete a given element from the above list. Display the contents of the list after deletion.

Write a Java program that works as a simple calculator. Use a grid layout to arrange buttons for the digits and for the +, -,*, % operations. Add a text field to display the result. Handle any possible exceptions like divided by zero.

Implementation of K-Means Clustering - Java