49,761 Topics
| |
Can anyone help me to write combat class? 1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender … | |
1. Combat between two creature cards: Reduce the defending creature’s HP by the attack power of the attacking creature card AND reduce the attacking creature’s HP by the attack power of the defending creature card. If either the attacker or the defender or both of them is/are reduced to 0 … | |
Hello, I want to call the function from a python file. By googling, it looks like I need to use the following function. I added a "Sample.py" in the same place where the exe is stored for the c++ . int main() { Py_Initialize(); // Create some Python objects that … | |
Write a program that stores information about the products in a single linked list that is being sold in a store: product code, product name and price. In the second single linked list stores data on products purchased by individual customers. Each of the element of the second list represents … | |
Write an algorithm and draw a flowchart that will calculate the roots of quadratic equation . Consider decision structures when b2 - 4ac > 0 b2 - 4ac = 0 and b2 - 4ac < 0 | |
I want the c++ code used in swipping machine. Help me with this | |
Hi guys! I am currently using c++ and I wanted to start doing basics of a game with oop. And I thought MGT would be good. So, the problem is idk where to start with. I'm planning to use only Land, Creature, Enchantment and, Sorcery cards. so is there any … | |
[You may use arrays] Credit Card Number Validation Payment card usage in Egypt is on a steady rise. According to the CBE report there are over 22 million active debit and credit cards in Egypt. This means that vendors accepting payments through these cards need to have a way of … | |
Hello, looking for help in implementing a game. I don't know if anyone is familiar with it. No Third Libraries allowed. I've been on it for 3 weeks and I've been getting a lot of errors. Researching everything and looking for all the help I can get. Keep in mind … | |
In this function you have to display the current time and date of your system. You can use built-in functions and/or pre-processor directives for this purpose. Your output should be in the following order 1) Day 2) Date 3) Month 4) Year 5) Hour 6) Minute 7) Seconds Note: … | |
| |
Q.No2 Write a C++ program which ❼ take two 4 × 4 matrices and add them ❼ aske user whether to add or subtract or exit ❼ do as directed Note: The program must keep on running unless the user chose exit option. | |
i want java mcq. i need help in java | |
Consider the following implementation of the node and doubly linked-list: Extend the class doubly_linked_list by adding the following methods: *Largest method .This method should return the largest element in a doubly linked-list. *Delete method. This method should delete the first occurrence of an element (value) from a doubly linked-list. template … | |
Construct a program in C++ to calculate a net selling price of a car from variety of models. The requirement of the program are: a. The program should be developed according to object oriented programming language which contain: i. A class with a proper naming convention. ii. A constructor with … | |
Write a program that sorts an array of integers using pointers. in c+++ | |
Write C++ Function named “ReverseIt” in which use enter a number, program reverse it and display reversed number on the console | |
Plz make it for me I tried but I can't solution it ?? | |
Hi! When I am running this code, the output looks how I expected it to be, but the problem is that I cannot go back to home page whenever I want to. I dont know why but when I tried to go back to home page after visiting the tips … | |
I am currently creating a Hangman program using Object oriented programming in C++. I tested my words class and it runs perfectly with a sample main that I was using. The classes that I need help with are Hangman and HangmanConsole. I am not sure what to do to get … | |
: Mining Temperature Data The highs and lows of the 3 first weeks of 2020 temperature data are available on a piece paper and we have decided to store them in a three-dimensional array in which the first index represents the 3 first weeks of the year, and take the … | |
using recursion, write a c++ function findlargestNode() which returns the largest node in a bst | |
Implement a class for vehicleType with data members "int YearModel, int speed and make (of type string or charll)". With following member functions; - Constructor with parameter, receiving "YearModel and make" and initialize other data members with ZERO. - int GetYearModel() const; - int GetSpeed( const; - string GetMake() const; … | |
What are the byte values of basic data types : char , int , long , long long, float, double.?(using sizeof() )? | |
I have a variable called **arrayForStudents**. it has 5 columns you can see how should it be applied from line 51 to line 63 code block but I am getting trouble how should I add the value as simple as interting values in the database. I need help using System; … | |
I am making a tic tac toe game, and have completed it. Now I am trying to implement a library to my code and I chose ncurses, because it seems easier to add and will allow me to change the color of the input for the game. However, I can't … | |
Hi! I need help with my assignment. I need to convert this one to C language. I've already changed the cout to prinf, but somehow it doesn't run. Help please. #include <stdio.h> int main(){ int order,no_deals; cout<<"Grocery"<<endl; cout<<endl; cout<<"(1) Eggs 6 pesos only."<<endl; cout<<"(2) 1 kl Rice 60 pesos only."<<endl; … | |
QI: Write a C ++ program, using function, to counts uppercase letter in a 20 letters entered by the user in the main program. | |
A sari-sari store needs a program that can help it add the corresponding profit and VAT values to its inventory. The program should add 5% to the base price for the profit amount. The 12% VAT should be added to the price after the solving for the price with profit. … |
The End.