No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I am trying to reverse a string input by the user and reverse the string whenever * is hit. For example, if i put abc and hit * i should get abc**cba back. There're 2 functions used it this recursive function which are echo (obtain the input key) and putchar … |
|
So I am using processing- similar to Java. I have made a button where I can add more ellipses (max 4) or press a different button to remove ellipses. I also made 4 different sets of keys for each of those ellipses to move. However, they can only move individually … |
|
So I have a schematic in logicworks and I need to convert to VHDL but I cannot because I don't know how. Can someone help me please? ![fc0c9426f7c49a3b3d8962e71a83fc24](/attachments/large/4/fc0c9426f7c49a3b3d8962e71a83fc24.PNG "fc0c9426f7c49a3b3d8962e71a83fc24") |
|
I need to write a right turn code for a micromouse using sensors but I don't know where to start. Can you help me please? This is the algorithm we developed. > // Right turn while sensor 1 is OFF // initialize RTcounter = 0; if (sensor 6 == 0) … |
|
Hello I have two questions about timing diagram but I have no idea how to do them, and the due date is like 2 days away. Please help me. Thank you. 1) The circuit shown here needs to have its timing checked for specific input sequences on A, B and … |
|
So my teacher gave us this file #include <stdio.h> #define MAXVALS 100 /* max number of values we can process */ int tableFill(double a[], int max); void tablePrint(double a[], int num); double tableAverage(double a[], int num); int tableMatchingElements(double a[], int num, double target); int main() { double table[MAXVALS]; /* array … |
|
My teacher wants me to write a function called double cos(float); to compute the cos of an angle (given in radians) using the Taylor series shown. Your function should find the value of the cos for ANY angle (preferred) or at least angles up to 2 PI (Hint: if you … |