dick head

Generation

generate functionSun, 29 Jan 2023

PT ABC wants to help the police in creating a vehicle title transfer system, especially used car title transfer. To take care of a car title transfer, vehicle owners need to know that the process of transferring the name of both used and new cars is carried out in two stages, namely at the Samsat office where the car is registered and where the vehicle owner is located. Both are done so that the issuance of STNK and the issuance of BPKB are in accordance with the new motor vehicle owner. Vehicle owners are advised to seek information regarding the regulations of the car title transfer process in the place where the vehicle owner is located. Generally, each region has different requirements or ways to carry out the process of changing the name of a vehicle, including the cost of changing the name of a used car. There are several documents that must be inputted into the system as required documents. In general, the documents that must be inputted are: Identity Card (KTP) of the new vehicle owner and photocopy. Original and photocopied Motor Vehicle Owner's Book (BPKB). Original vehicle number certificate (STNK) and photocopy. Used car purchase receipt & photocopy that has been completed with a Rp 10,000 stamp duty and signed by the seller and car buyer. Vehicle physical check result document (conducted at the Samsat Office). The car title transfer process is as follows: After obtaining the documents from the physical check, registering the name change, paying the name change fee using several payment methods such as bank transfer or mobile banking from several cooperating banks, the car owner receives proof of payment, and fills out the form provided according to the information stated on the STNK. The officer validates the form to mutate it to the destination SAMSAT according to the KTP. The officer will send an archive containing the completed car documents. The vehicle owner fills out the mutation form and includes a photocopy of the KTP and pays the mutation fee. You will get an online BPKB bill that must be paid. Repayment can be done using several payment methods such as bank transfer or mobile banking from several cooperating banks and the owner receives proof of payment. Continue making payments to pay the STNK fee and the account holder receives proof of payment. Submit a photo of the STNK and proof of STNK tax payment. The vehicle owner will be given a number plate, STNK and BPKB in accordance with the data of the new motor vehicle owner. From the above application idea, Create the main logic using pseudocode;

#include <stdio.h> int main(void) { int samsat, pkb, stnk, stnk_mut, bpkb, input; printf("Input Payment\n"); scanf("%d", &input); samsat = input; pkb = samsat * 10 / 100; stnk = ((samsat - pkb) * 10 / 100) + pkb; stnk_mut = ((samsat - stnk) * 10 / 100) + stnk; bpkb = ((samsat - stnk_mut) * 10 / 100) + stnk_mut; printf("Samsat : %d\n", samsat); printf("PKB : %d\n", pkb); printf("STNK : %d\n", stnk); printf("STNK Mutation : %d\n", stnk_mut); printf("BPKB : %d\n", bpkb);

Questions about programming?Chat with your personal AI assistant