In Vehicular cloud computing (VCC), at the time of congestion, to deal with traffic, the vehicles’ underutilized resources are shared; subsequently, these resources aren’t constrained to computing power, storage, along with internet connectivity. Nevertheless, owing to the vehicular network characteristics, attaining the QoS requirements search together with the allocation of resources in the Vehicular Cloud (VC) has turned into a complicated task. An intelligent Square Shaped (SS)-Adaptive Neuro-Fuzzy Interference (SS-ANFIS) methodology for Resource Scheduling (RS) in addition to Mean-centered Penguins Search Optimization Algorithm (M-PeSOA) for Optimal Path Selection (OPS) in the VC is proposed here for efficient resource allocation. (a) Feature extraction, (b) Vehicles clustering, (c) OPS, (d) Resource information extraction, and (e) RS included in the proposed methodology. First, the vehicular network is initialized following that the vehicle features are extracted. Next, Cluster Heads (CHs) are generated regarding which vehicles are clustered; subsequently, the multi-paths are generated. After that, by employing the M-PeSOA, the OPS procedure is conducted; thus, the VC’s resource information is extracted aimed at scheduling the resources efficiently. Lastly, by employing the SS-ANFIS, vehicles are scheduled in the optimal paths. The proposed resource allocation system’s performance is assessed, and the experiential outcomes are analogized using the sumo tool and java platform.