Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,037 members, 7,807,114 topics. Date: Wednesday, 24 April 2024 at 09:48 AM

School Project - Programming - Nairaland

Nairaland Forum / Science/Technology / Programming / School Project (1471 Views)

School Project (2) (3) (4)

(1) (Reply) (Go Down)

School Project by branks1: 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): 1:36am On Jul 28, 2016
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.

3 Likes

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

1 Like

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 Like

(1) (Reply)

Become A Web Developer Today / This Domain Name "Programming.com.ng" Is For Sale!!! / Need An Expert Assessment

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 16
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.