chevron_left

Recent posts tagged program

0 0 1 min.
Problem: -------- While solving basic condition problem in python I am trying to implement the below logic but don't know python is throwing error, the invalid syntax for no reason,below is the code. day = int(input("Enter the day of week:")) ...
posted 6 days ago sam_dev 66 points
6 0 1 min.
# Introduction of C & C++: C++, pronounced as "See plus plus", is a powerful computer programming language. It is the advance version of C language. The C is a procedural language while the C++ is an object oriented programming language. ## Brief ...
posted Sep 16 Tania 937 points
6 0 1 min.
Introduction java program: Java, developed by Sun Microsystems, is a completely object-oriented programming language. It is used to create small applications with large applications called applets. Are downloaded as files, which provide many functi...
posted Sep 16 Tania 937 points
4 0 2 min.
Working with palindromes is fun. A palindrome is a number or a word that remains the same when reversed. For example. ‘12321’ will remain the same if we write it from right to left. Similarly, ‘radar’ will not change when we write it in reverse. But ...
posted Sep 1 Hafsa_Rao 358 points
3 0 1 min.
Have you ever wondered what if we do not declare a main() method in our Java program? Is there any way to print something on the screen without a main() method? If yes, you are going to find the answer to your questions in this article.Before the JDK...
posted Sep 1 Hafsa_Rao 358 points
23 1 3 min.
Introduction swapping in java:The program we are going to create today is how to change two values ​​in Java. We will not use the third variable. For example, if I have two variables a, b now I have 10 in a.  I will add value and 20 in b. Swap m...
posted Aug 28 Sitara khan 70 points
14 0 2 min.
Overview validation text box:When you are learning programming, it is important that you learn C ++ first so that it is easier for you to learn more programming language.  Understand. Because when big programs are made, there are no mistake...
posted Aug 25 Sitara khan 70 points
6 0 2 min.
Overview java program:Java array is an ordered collection of primitive. In addition, there is also a collection of object references, or other arrays. Java arrays are homogeneous. Except for polymorphisms.  If so, you specify the element type. A...
posted Aug 14 Tania 937 points
12 0 1 min.
Overview constructor & setter injection:If you are learning programming then you must have a lot of knowledge about class and object. If you know then it is very easy to learn setter injection and constructor injection.  There is also a slig...
posted Aug 10 Tania 937 points
0 0 8 min.
Contributing to open source is a really great way to get real-world software development and other domain experience from the comfort of your home even if you’re a beginner and don’t have a job in the industry. You don’t really need to be an expert t...
posted Aug 10 muthuannamalai 69 points
2 0 2 min.
   Introduction  Abstraction:Abstract modifiers apply to classes and methods. A class that is abstract is not instantiated. Abstract classes provide a way to defer implementation to all classes.As per dictionary, abstraction is th...
posted Aug 9 Tania 937 points
0 0 1 min.
Passing the values from one function to another in Python is easy and simple. All you need to do is declare and initialize the variables in one function and pass them as parameters to another function. In this article, we are going to write a program...
posted Aug 8 Hafsa_Rao 358 points
19 1 2 min.
While programming, we come across certain conditions in which we need to validate the user input before proceeding to the next step. These programs seem difficult if you are a beginner or are not familiar with the built-in functions. In this article,...
posted Jul 26 Hafsa_Rao 358 points
4 0 5 min.
COLLATZ SEQUENCEIn this post we will be discussing about the Collatz sequence and how to obtain such sequence by writing the code in C++.Basically Collatz sequence is obtain by the following steps, if number is odd then multiply by 3 and add 1 to it,...
posted Jun 30 mayankpathak 18 points
3 0 3 min.
Every operating system, and this includes Windows, is a set of programs, services and executables in general that fulfill different functions.It is not an indivisible whole, it is made up of small pieces that are part of a large gear&n...
posted Jun 25 amna 2,504 points
27 0 2 min.
Hi Geeks, In this article we gonna see a very basic programming problem that can be asked in any coding competition or the coding round during any interview process.Let’s directly check what the problem is about ?Write a C++ program to add two ...
posted Jun 18 mayankpathak 18 points
21 0 1 min.
In this post, we will take a look at a java program that will display student details. We will use the simplest approach to understand this program.Here, we will display the name, roll no, age, and marks of 5 subjects.In this program, First, we ...
posted Jun 12 Being human 57 points
41 2 1 min.
Here, we will write the Java programs to sort the array in descending order. Consider a list of an array element in an unsorted format, we will sort them in descending order.Algorithm:Take the input size of an element.Use a loop to Input array e...
posted Jun 2 Being human 57 points
27 0 1 min.
Here, we will see the simplest solution for finding a specific character in a string in java. We will be using the String built-in function to execute this program:Algorithm:Take input string from the user.Take the input character you want to se...
posted May 31 Being human 57 points
18 0 2 min.
If you are a fresher, you might have encountered this question in your interviews i.e program to find a maximum and minimum number in an array in java. Let us understandAlgorithm to find the maximum and minimum number in an array in javaTake the...
posted May 30 Being human 57 points