CoderMantra

Menu
  • Home
  • Quiz
  • How-To
  • Q/A
  • Blog

Author: Kritika Papne

Program to merge two files and write them to another file.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to merge two files and copy the content in another file using different languages. This program is created in c language, c++, Java, and Python. Code to merge two files in C language Code to merge two files in C++ language Code to merge two files in Python…

Read More »

Program to write multiple lines to a text file.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to write multiple lines into a text file using different languages. This program is created in c language, c++, Java, and Python. Code to write multiple lines in a file in C language Code to write multiple lines in a file in Python language

Read More »

Program to read an existing file.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to read an existing file using different languages. This program is created in c language, c++, Java, and Python. Code to read an existing file in C language Code to read an existing file in C++ language Code to read an existing file in Python language Code to…

Read More »

Program to create and store information in a text file.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to create and store information in a file using different languages. This program is created in c language, c++, Java, and Python. Program to create and store a text file in C language Program to create and store a text file in C++ language Program to create and…

Read More »

Program to get the largest element of an array using the function.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to print the largest element of the array using different languages. This program is created in c language, c++, Java, and Python. Function to get the largest array element in C language Function to get the largest array element in C++ language Function to get the largest array…

Read More »

Program to check whether a number is a prime number or not using the function.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to check if the number is prime or not with functions using different languages. This program is created in c language, c++, Java, and Python. Function to check if the number is prime in C language Function to check if the number is prime in C++ language Function…

Read More »

Program to check if a given number is even or odd using the function.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to check if the number is even or odd with functions using different languages. This program is created in c language, c++, Java, and Python. Function to check if the number is eve or odd in C language Function to check if the number is eve or odd…

Read More »

Program to swap two numbers using a function.

May 25, 2023
| No Comments
| Assignments, Practice Questions, Questions

Here, we have a basic program example to swap two numbers using functions using different languages. This program is created in c language, c++, Java, and Python. Function to swap numbers in C language Function to swap numbers in C++ language Function to swap numbers in Python language Function to swap numbers in Java language

Read More »

  • 6 of 19
  • « Previous
  • 1
  • …
  • 4
  • 5
  • 6
  • 7
  • 8
  • …
  • 19
  • Next »
About CoderMantra

Coder Mantra is a unique e-learning website, offers a tutorial of different popular programming languages with examples. The code on this popular tutorial website is tested and executed.

Latest Posts
Singly Linked List in Java November 28, 2025
Linked List in Data Structures November 26, 2025
Array Implementation in Java (Data Structure) November 24, 2025
Arrays in Data Structures November 22, 2025
Contact Us

info@codermantra.com

admin@codermantra.com

© 2020 Coder Mantra . All Rights Reserved
About | Privacy Policy | Terms | Contact