1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Vikki [24]
3 years ago
13

Write a function called printBackwards() that will work with a C string. The function will print any C string backwards. You don

't need to put in the prototype, but you need to write a complete function.
Computers and Technology
1 answer:
yaroslaw [1]3 years ago
8 0

Answer:

void printBackwards(char s[])

{

   int n=strlen(s)-1;//finding the last index of the string..

   for(int i=n;i>=0;i--)//loop to print the string backwards..

   {

       printf("%c",s[i]);//printing the character of the string..

   }

}

Output:-

abcdefg

gfedcba

Explanation:

I have used strlen function that will be used after including the string.h header file.It returns the length of the string.After finding the last index I have iterated over the c string in reverse order and printing the character of the string one by one.

You might be interested in
Why is computer called information processing maching???​
Vaselesa [24]

☆ <u>Since, the computer accepts raw data as input and converts into information by means of data processing, it is called information processing machine (IPM).</u>

HOPE IT HELPS ❣️

7 0
3 years ago
Read 2 more answers
Which troubleshooting tool enables you to connect to a user's remote computer, view and interact with the user's screen, and cha
DaniilM [7]
That would be Remote assistance.
6 0
3 years ago
What is the best software for game design
riadik2000 [5.3K]

The 2D Design Engines

10. Sploder

This program should be labeled a product for the very novice of game designers and developers. It features a very simple interface that can be used to make shooters and platformers. The custom game, which Sploder creates, always comes out as flash, which is arguably one of the best places to start anyway. It features a drag and drop interface, and your games can also be shared with other Sploder users, making it a community application.

9. RPG Maker XP

Yet another beginner program RPG Maker is well known all around the gaming community as an awesome place to start designing. It features many tropes of those old 16bit RPG games that were in the rage during the early 90’s. Along the way, the program usually holds your hand through the process of creating your world and story, which is also supplemented by countless FAQs and forums discussing the program.

8. Multimedia Fusion 2

For the fledgling designer who has more than a few games under their belt, Multimedia Fusion 2 is the next logical step in design. It contains and intricate system that details a lot of design when it comes to levels, characters, and actions. The design also allows for easy assignment of behaviors to objects, as everything can be done through dragging and a little bit of event planning. Overall, this is a powerful program that any designer should try out in the long run.

7. Construct Classic

Construct Classic shares a lot of the same tropes with easy to use designing software in that it is very easy to use. The classic version of this program boasts the ability to create Direct X titles with the addition of an awesome physics engine, even system, and fully realized pixel shader effects. The program is ideal for creating prototypes, but can also be used to make simple games.

6. Flixel

In terms of 2D game design, Flixel reigns supreme because of one very important fact. A created game with the Flixel engine can be distributed freely, with no need to purchase a license to distribute the said game. It also got one of the most supportive forums as the program is constantly updated with improved collision and even boxes, along with countless 2D objects.

The 3D Design Engines

5. UDK (Unreal Development Kit)

The Unreal Engine is an iconic design program, and there are tons of titles that prove the very same. It has been in use for so many years that no one can dispute how powerful it really is. At the same time, it’s a very good intermediate level design program, as it features a full 3D workspace where designs for levels and characters can all be made. Be forewarned though, this is a very professional program, and if you intend to create game, you’ll have to pay $100 plus royalties for each sale.

4. Blitz Max

For beginners that want to upgrade from 2D to 3D without too many hiccups, Blitz Max is the perfect tool to translate that journey. It features a very fundamental approach to 3D games design, buy at the same time, it doesn’t restrict the user in too many ways. In terms of graphical quality, don’t expect too much out of it as the aesthetics are based on the most fundamental designs.

3. Pygame

One of the reasons why Pygame is on this list is because it deals with the Python programming language. This makes it a very big contender as Python mostly belongs the PS3 format, and is a tricky language to master. However, this program, with the many countless tutorial books makes it easier to grasp every concept required in making games.

2. XNA Games Studio

XNA is the prime language you should pick if you’re really considering getting serious with games design and creation. The design program has countless different titles under its already well established repertoire, and that is still fast growing. However, you also have to be aware that the software is on the technical side of design, as you may see in games Spelunky or Magicka.

1. Unity3D

We can’t all be masters of programming languages, and certainly, not all of us have the ability to create game engines from scratch. This is basically the idea behind Unity 3D, and it upholds that same ideal very well because it takes a very hands-off approach to your design. There are many different tutorials on how you can get started on this engine, so starting now might be beneficial to you.

7 0
3 years ago
Read 2 more answers
What two benefits are a result of configuring a wireless mesh network? Check all that apply.
Andrei [34K]

Answer:

1)PERFORMANCE

2)RANGE

Explanation:

A mesh network can be regarded as local network topology whereby infrastructure nodes connect dynamically and directly, with other different nodes ,cooperate with one another so that data can be efficiently route from/to clients. It could be a Wireless mesh network or wired one.

Wireless mesh network, utilize

only one node which is physically wired to a network connection such as DSL internet modem. Then the one wired node will now be responsible for sharing of its internet connection in wireless firm with all other nodes arround the vicinity. Then the nodes will now share the connection in wireless firm to nodes which are closest to them, and with this wireless connection wide range of area can be convered which is one advantage of wireless mesh network, other one is performance, wireless has greater performance than wired one.

Some of the benefits derived from configuring a wireless mesh network is

1)PERFORMANCE

2)RANGE

7 0
2 years ago
A method to accept the number of drawers in the desk as input from the key board. This method returns the number of drawers to t
Julli [10]

Answer:

Following code takes the information about the wood from the user, do the process of calculating the value according to there type and numbers, then add the surcharge to it while giving the answer to the user.

For differentiating the type of woof i used the if then else statement while i used switch case statement for assigning the appropriate value according to the types of the wood will be processing in the program.

The code is given below:

Explanation:

Code:

namespace std;\\ any name instead of std.

{

   class Program

   { \\ starting the main program

       static void Main(string[ ] args)

       {

           int numberOfDrawers = 0;

           string deskWoodType = "o";

           double cost = 0;

           drawersMeth(numberOfDrawers);

           woodTypeMeth(deskWoodType);

           CalculateCostMeth(numberOfDrawers, cost, deskWoodType);

           OutPutCostMeth(deskWoodType , cost, numberOfDrawers);

       }//end main

       private static void drawersMeth(int numberOfDrawers)

       {

           int numOfDrawers;

           Console.WriteLine("Enter the number of desk drawers");

           numOfDrawers = Convert.ToInt16(Console.ReadLine());

           numberOfDrawers = numOfDrawers;

       }//end drawersMeth

       private static string woodTypeMeth(string deskWoodType)

       {

           Console.WriteLine("Enter the desk wood type. (eg. type mahogany, oak, or pine)");

           deskWoodType = Convert.ToString(Console.ReadLine());

           switch (deskWoodType)

           {

               case "mahogany":

                   {

                       deskWoodType = "m";

                       break;

                   }

               case "oak":

                   {

                       deskWoodType = "o";

                       break;

                   }

               case "pine":

                   {

                       deskWoodType = "p";

                       break;

                   }

               default:

                   {

                       deskWoodType = "error";

                       break;

                   }

           }

           return deskWoodType;

       }// end woodTypeMeth

       private static int CalculateCostMeth(string deskWoodType, int numberOfDrawers, int cost)

       {

           int pine = 100;

           int oak = 140;

           int other = 180;

           int surchage = 30;

           if (deskWoodType == "p")

               cost = surchage + (numberOfDrawers *pine );

           else if (deskWoodType == "o")

               cost = surchage + (numberOfDrawers *oak );

           else

               cost = surchage + (numberOfDrawers *other );

           return cost;

       }// end CalculateCostMeth

       private static void OutPutCostMeth(int numberOfDrawers, string deskWoodType, int cost)

       {

           double totalCost = cost;

           Console.WriteLine("The number of drawers is {0}", numberOfDrawers);

           Console.WriteLine("The wood finish you have selected is ", deskWoodType);

           Console.WriteLine("The total cost is {0}", totalCost);

       }//end outputCost

   }//end class

}//end nameSpace

5 0
3 years ago
Other questions:
  • . Alex discovered a bunch of SATA drives in a box at the office and needs to check the contents. What can he do so that Windows
    13·1 answer
  • PLEASE HELPP!! WILL MARK BRAINLIEST!!~~~~~
    11·1 answer
  • What is connectivism and how does it apply to online learning?
    7·1 answer
  • which type of classroom enable students to attend lectures without being physically present with the teacher
    14·2 answers
  • What answer best explains why improper netiquette is considered dangerous? Individuals who violate user policies are often charg
    14·2 answers
  • The Internet may best be compared to a/an
    11·1 answer
  • Which processor family is most likely found on recent gaming laptops (Gaming laptops require a lot of computational power)?
    11·1 answer
  • Fre.....ee p......oint....s pt 2
    10·2 answers
  • What are the benefits and drawbacks of a desktop utilising virtualisation and a server?
    12·1 answer
  • Many people are scared of the rise of Artificial Intelligence (AI). Do you think computers that are controlled by an AI are some
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!