₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,959 members, 8,424,339 topics. Date: Thursday, 11 June 2026 at 04:16 AM

Toggle theme

School Project - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingSchool Project (1674 Views)

1 Reply (Go Down)

School Project by branks1(op): 7:14pm On Jul 26, 2016
pls who knows how to create a speech recognition app for limited vocabulary .it is for a school project..thanks
Re: School Project by 4kings: 7:36pm On Jul 26, 2016
Use MIT appinventor2, it is easy to use( if u av basic knowledge of programming)
Re: School Project by KingEbukaNaija: 8:09pm On Jul 26, 2016
4kings:
Use MIT appinventor2, it is easy to use( if u av basic knowledge of programming)
Are you a computer scientist ?
Re: School Project by 4kings: 8:59pm On Jul 26, 2016
KingEbukaNaija:
Are you a computer scientist ?
I have good experience in programming and am also a 3d artist.

Why r u asking?
Re: School Project by KingEbukaNaija: 9:04pm On Jul 26, 2016
4kings:
I have good experience in programming and am also a 3d artist.
That's cool smiley . I'm trying to reignite my interest in programming though . So which programming languages do you know very well ?
Re: School Project by 4kings: 9:06pm On Jul 26, 2016
KingEbukaNaija:
That's cool smiley . I'm trying to reignite my interest in programming though . So which programming languages do you know very well ?
Python
Re: School Project by KingEbukaNaija: 9:15pm On Jul 26, 2016
4kings:
Python
Cool ,I learnt python in my 200 level smiley
Re: School Project by 4kings: 9:19pm On Jul 26, 2016
KingEbukaNaija:
Cool ,I learnt python in my 200 level smiley
That's cool, why did u stop programming?

You went to C.U right?
Re: School Project by Vectormike(m): 11:27pm On Jul 26, 2016
4kings:
I have good experience in programming and am also a 3d artist.

Why r u asking?
Hello, I was given an assignment on qbasic. "Write a program to accept quantity of items and price of items. This program should allow the user input and calculate the total price and discount.
Re: School Project by Capnd143(m): 1:13am On Jul 27, 2016
Vectormike:
Hello, I was given an assignment on qbasic. "Write a program to accept quantity of items and price of items. This program should allow the user input and calculate the total price and discount.
i think i did that,.....
Re: School Project by 4kings: 9:20am On Jul 27, 2016
Vectormike:
Hello, I was given an assignment on qbasic. "Write a program to accept quantity of items and price of items. This program should allow the user input and calculate the total price and discount.
I'm not familiar with qbasic, but I can answer that question in python code if u want.
Re: School Project by Vectormike(m): 11:47pm On Jul 27, 2016
4kings:
I'm not familiar with qbasic, but I can answer that question in python code if u want.
Go ahead.
Re: School Project by raymod170(m):
am an expert at speech recognition dude
Re: School Project by jboy01(m): 10:03am On Jul 28, 2016
I have done a project for a client on that before. Its not that difficult. You can contact me on o8o61249343 if you need someone to do it for you.
Re: School Project by 4kings: 11:07am On Jul 28, 2016
Vectormike:
Go ahead.
def program():
.......quantity = int(input('Enter Quantity : '))
........price = int(input('Enter Price : '))
........disc_value = float(0.10)

.......Total_price = quantity * price
.......Discounted_price = Total_price - (int(disc_value) * Total_price)

.......print (Total_price)
.......print (Discounted_price)

program()


I used 10% as discount value
The dots are indentation spaces.
Re: School Project by guru01(m): 4:47pm On Jul 29, 2016
4kings:
def program():
.......quantity = int(input('Enter Quantity : '))
........price = int(input('Enter Price : '))
........disc_value = float(0.10)

.......Total_price = quantity * price
.......Discounted_price = Total_price - (int(disc_value) * Total_price)

.......print (Total_price)
.......print (Discounted_price)

program()


I used 10% as discount value
The dots are indentation spaces.
Good.
Re: School Project by guru01(m): 5:33pm On Jul 29, 2016
Interpreting the above code in php using cmd to run program.

--program.php

<?php
int $qty = $_GET['qty'];
int $price = $_GET['price'];
int $discount = 10;//ten percent
function calcDiscount(int $qty,int $price,int $discount){
$totalPrice = $qty * $price;
$discountedPrice = $totalPrice - (($discount * $totalPrice) / 100);
echo "Total price = ". $totalPrice.PHP_EOL;
echo "Price after discount = ".$discountedPrice.PHP_EOL;
}
calcDiscount($qty,$price,$discount);


To run the program enter this command.
php -f program.php qty=20 price=4680
Re: School Project by AdoptedSon: 8:30pm On Jul 29, 2016
I know about qbasic and i think i can attempt the question. 1.the rate must be subject to input by cashier
(input "enter the discount rate";dis!)

i am no computer science student., am a fresher of C.U. who loves and dates programminq. (still learning)
1 Reply

School Project234

Help Me Remove The Credit Link In This Template PleaseIf You Are To Advice Between Python And Java, Which Would You Pick?VB. NET Expiration Date Alert