Tumgik
kodebinary · 1 year
Text
Find the sum of the largest increasing branch in an n-ary tree
Find the sum of the longest increasing branch in an n-ary tree to uncover its hidden value!
Finding the sum of the largest increasing branch in an n-ary tree can be a difficult task. This article provides an example C++ program that can help you find the sum of the largest increasing branch in an n-ary tree. An n-ary tree is a tree in which every node has at most n children. It is a generalization of the binary tree, where each node can have up to two children. In an n-ary tree, the…
View On WordPress
1 note · View note
kodebinary · 2 years
Text
The fizzbuzz program in python
The fizzbuzz program in python
The fizzbuzz program is to validate your python knowledge of conditions and loops. It states that to loop over the numbers between 1 to 100, if the current number is perfectly divisible by 3 then print ‘fizz’. Else if the number is perfectly divisible by 5 then print ‘buzz’. Finally, if the number is perfectly divisible by both 3 and 5 then print ‘fizzbuzz’, rest all cases just print the number…
View On WordPress
2 notes · View notes
kodebinary · 2 years
Text
Python program to add two numbers
Python program to add two numbers
Generally, most of the new programming languages use the addition (+) operator to add any two values. So does python. In the simplest form, we can directly add two numbers using the python command line as shown below. $python Python 2.7.10 (default, Jul 15 2017, 17:16:57) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)] on darwin Type "help", "copyright", "credits" or "license" for more…
View On WordPress
1 note · View note
kodebinary · 2 years
Text
Program to find factorial of a number in python
Program to find factorial of a number in python
Factorial(!) of a number (N) is the multiplication of all numbers from 1 to N. Formula is as defined below. N! = 1 * 2 * 3 * 4 ... N # for example 4! = 1 * 2 * 3 * 4 = 24 In this article, we are going to write a python program (in all different ways) to find the factorial of the given number. Factorial of a number in python using loops # factorialnum.py # The function returns the factorial of…
View On WordPress
0 notes
kodebinary · 2 years
Text
Armstrong number in python
Armstrong number in python
A number with the below property is called Armstrong number of order N. Where the sum of the power of each digit with the number of its digits. abcd...(n digits) = a^n + b^n + c^n + ... For example, Armstrong number of order 3 is a number in which the sum of cubes (power of 3) of its digits is equal to the number itself. Let us take an example Armstrong number check the sum of cubes of its…
View On WordPress
0 notes
kodebinary · 2 years
Text
Prime number program in python
Prime number program in python
A prime number is a number that is only divisible by 1 and itself. By using python programming we can find whether any given number is a prime number or not. We can also find all numbers within the range of 2 and N(given number). Let us see how we can write these two programs using python programming. Finding a number a prime number or not? # primeornot.py # Below function returns true if…
View On WordPress
0 notes
kodebinary · 2 years
Text
Write a program to print the Fibonacci series in python.
Write a program to print the Fibonacci series in python.
The Fibonacci series is a series of Fibonacci numbers. These Fibonacci numbers have the most practical uses in the history of mathematics. In this article, we are going to learn how to generate a Fibonacci series with a length of a given number. Fibonacci series in python using a loop # take input. inp = int(input('Enter how many numbers in series you want? ')) # variables. one, two = 0,…
View On WordPress
0 notes
kodebinary · 2 years
Text
Python hello world program
Python hello world program
Python is a scripting language that runs using a python interpreter. The interpreter converts the program (python text file with “.py” extension) into hardware understandable format. Let us see a simple hello world program using python language. # helloworld.py # Below code prints 'Hello World!' string. print('Hello World!') While we install the python program, it gives a set of executables…
View On WordPress
0 notes
kodebinary · 2 years
Text
What is the difference between Tally ERP9 and Tally Prime ?
What is the difference between Tally ERP9 and Tally Prime ?
1. DATA ACCESS In Tally ERP9, We can retrieve the data by giving the folder path. In Tally Prime, We can specify the folder path. Or Here, is a new feature available i.e. “select from drive” . Using this feature, we can route the Tally Data folder path. 2. COMPANY INFO In the older Tally ERP9 version, the shortcut key for company info is ALT + F3. And company info menu contains the features…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
What is Job Work out order in Tally Prime?
What is Job Work out order in Tally Prime?
ASSIGNMENT ON JOB WORK OUT PROCESSING Company placed an order to XYZ INDUSTRIES for manufacturing 20no.s of Laptops. To manufacture 20no.s of laptops following Raw Materials will be supplied by our company. Raw Materials – Each item opening balance is 100pcs. (Order No: Job out / xyz / 001) S. NoNAME OF THE ITEMQUANTITYRATE1Mother Board20pcs15002CPU20pcs30003RAM 6GB20pcs20004Monitor20pcs30005i8…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
How to create Job work in Order Process in Tally Prime ?
How to create Job work in Order Process in Tally Prime ?
What is “Job Work in” Order Process? If an order comes from another company to our company for making any goods or for any services, the process is called “Job Work – In Process.“ What is “Job Work Out” Order Process ? If our company orders another company to make any goods or services, the process is called “Job Work out Process.” JOB WORK IN ORDER VOUCHER We will record the transactions of…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
MS OFFICE QUIZ
View On WordPress
0 notes
kodebinary · 3 years
Text
How to record TDS transactions in Tally Prime?
How to record TDS transactions in Tally Prime?
TDS is one of the modes of collection of Income Tax. You have to deduct TDS at the time of crediting to the party’s account or at the time of payment, whichever is earlier even though you have to deduct TDS for payment of advance to the party. Income tax rules requires that TDS to be deducted from the party’s bill at the time of credit to the party or payment, whichever is earlier and deposited…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
How to process salary (Payroll) in Tall Prime ?
How to process salary (Payroll) in Tall Prime ?
ASSIGNMENT Enable required features of Payroll and create the following Create units (work) for payroll: Hour, MinuteCreate compound unit : 1 Hour = 60 MinCreate attendance typeSick Leave (Leave with pay)Absent (Leave without pay)Overtime (Production)Create Payhead typeBasic (On Flat Rate)DA (As compound value 50% on Basic)HRA (as computed value 20% on Basic + DA)TA (Flat Rate)Overtime (On…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
How can we maintain Batch-wise details in Tally Prime?
How can we maintain Batch-wise details in Tally Prime?
Batch-Wise details is a part of advanced inventory management. Bath wise information useful where perishable goods like medicines, sea-food, dairy products (ex: ice -creams, butter milk) fruits, vegetables, flowers and meat , poultry etc. Batch-wise details is used widely in pharmaceutical industries as compared to to other sectors. We can track manufacturing dates and expiry dates for products…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
How do you enter Intrastate purchases and Intrastate sales with Cost centers and Cost Categories ?
How do you enter Intrastate purchases and Intrastate sales with Cost centers and Cost Categories ?
ASSIGNMENT Company purchase the following materials from Silver Plus Companies (State : Andhra Pradesh) with GST @ 5% on May – 01 – 2021 and reference number : spc/100 S.NOITEM NAMEQUANTITYRATEHSN CODE1Bricks30,000 No.sRs. 3.00 per No690100102Natural Sand20,000 TonsRs. 140 per Cu. Ft250590TOTAL PURCHASE VALUE NOTE : The entire Material is Purchased for Projects works – Apartment and…
Tumblr media
View On WordPress
0 notes
kodebinary · 3 years
Text
How to do JOB COSTING in Tally Prime ?
How to do JOB COSTING in Tally Prime ?
ASSIGNMENT Company received a job from Tech Industries to update their all desktop computersCompany appointed Mr. Tarak to update their all computersCompany purchased the following items with GST @ 12% and stored at Rajam godown.. Ref No: Pur/SS/001 from SS Technologies (State : Andhrapradesh)RAM – 15 Pcs @ Rs. 1,050/-CPU – 15 Pcs @ Rs. 2250/-Mother Board – 15 Pcs @ Rs. 2,550/-Mouse – 10 Pcs @…
Tumblr media
View On WordPress
0 notes